ClusterError
Errors
AlreadyProcessingMessage
Added in v1.0.0
Source
Signature
declare class AlreadyProcessingMessage extends any {
constructor();
readonly [TypeId]: symbol;
static is(u: unknown): u is AlreadyProcessingMessage;
}EntityNotAssignedToRunner
Added in v1.0.0
Source
Represents an error that occurs when a Runner receives a message for an entity that it is not assigned to it.
Signature
declare class EntityNotAssignedToRunner extends any {
constructor();
readonly [TypeId]: symbol;
static is(u: unknown): u is EntityNotAssignedToRunner;
}MailboxFull
Added in v1.0.0
Source
Represents an error that occurs when the entities mailbox is full.
Signature
declare class MailboxFull extends any {
constructor();
readonly [TypeId]: symbol;
static is(u: unknown): u is MailboxFull;
}MalformedMessage
Added in v1.0.0
Source
Represents an error that occurs when a message fails to be properly deserialized by an entity.
Signature
declare class MalformedMessage extends any {
constructor();
readonly [TypeId]: symbol;
static refail: <A, E, R>(effect: Effect<A, E, R>) => Effect<A, MalformedMessage, R>;
static is(u: unknown): u is MalformedMessage;
}PersistenceError
Added in v1.0.0
Source
Represents an error that occurs when a message fails to be persisted into cluster's mailbox storage.
Signature
declare class PersistenceError extends any {
constructor();
readonly [TypeId]: symbol;
static refail<A, E, R>(effect: Effect<A, E, R>): Effect<A, PersistenceError, R>;
}RunnerNotRegistered
Added in v1.0.0
Source
Represents an error that occurs when a Runner is not registered with the shard manager.
Signature
declare class RunnerNotRegistered extends any {
constructor();
readonly [TypeId]: symbol;
}
Represents an error that occurs when the entity is already processing a request.