pub enum Crash {
Failed,
EnvironmentFailed,
Panicked,
Cancelled,
}Expand description
Why actor execution terminated abnormally.
The reason value stays with the interpreter: heterogeneous behavior and environment errors, panic payloads, and executor cancellation details are runtime plumbing. Observation carries only the statically known terminal domain. Every variant is abnormal; the distinction is preserved for supervision policy and truthful traces.
This classification is Bombay policy layered over the actor algebra. It
does not add an effect to a behavior transition: interpreters mint a
Crash only when execution terminates without an Exit.
Variants§
Failed
Behavior::init or Behavior::step returned its declared error.
EnvironmentFailed
The interpreter could not execute an emitted effect and terminated the actor.
Panicked
Actor execution unwound through a panic.
Cancelled
The executor cancelled actor execution before normal completion.