DispatcherError
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Defined in: src/SystemMessages.ts:133
A unit of work scheduled on a dispatcher threw, and supervision was not going to hear about it.
Deliberately not an ActorLifecycleEvent: it is not a
transition in an actor’s life, and its actor may be null — a task
handed straight to dispatcher.execute belongs to no cell. Subscribing
to the lifecycle base must not start delivering failures.
Everything supervision can catch is already caught before it gets here:
a throw out of onReceive goes to the parent’s strategy. What lands on
this channel is what supervision structurally cannot see — a failure in
the machinery around the handler, or in a task the framework never
owned. That makes it low-volume and worth alerting on, which is exactly
why it needed a channel instead of a console line (#410).
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DispatcherError(
dispatcherId,cause,actor?):DispatcherError
Defined in: src/SystemMessages.ts:134
Parameters
Section titled “Parameters”dispatcherId
Section titled “dispatcherId”string
id of the dispatcher whose unit failed.
Error
The failure, normalised to an Error even when a non-Error was thrown.
actor?
Section titled “actor?”ActorRef<unknown> | null
The actor whose turn failed, or null when the failing unit came
straight from dispatcher.execute and belongs to no cell.
Returns
Section titled “Returns”DispatcherError
Properties
Section titled “Properties”
readonlyactor:ActorRef<unknown> |null=null
Defined in: src/SystemMessages.ts:143
The actor whose turn failed, or null when the failing unit came
straight from dispatcher.execute and belongs to no cell.
readonlycause:Error
Defined in: src/SystemMessages.ts:138
The failure, normalised to an Error even when a non-Error was thrown.
dispatcherId
Section titled “dispatcherId”
readonlydispatcherId:string
Defined in: src/SystemMessages.ts:136
id of the dispatcher whose unit failed.
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: src/SystemMessages.ts:145
Returns
Section titled “Returns”string
