Skip to main content

Module error

Module error 

Source
Expand description

Error taxonomy and the supervisor decider for context-poisoning recovery (§5.3, §5.11 of the architecture document).

Rakka’s supervisor (atomr_core::supervision::Decider) inspects a panic message string rather than a typed error value. To trigger the doc’s OneForOne::default().on::<ContextPoisoned>(Restart) behaviour, an actor that detects context poisoning panics with a message containing the string "ContextPoisoned". The decider exposed here parses these markers back into supervisor directives.

Structs§

DeviceSupervisor
Typed SupervisorOf<ContextActor> adapter for DeviceActor.

Enums§

GpuError

Constants§

CONTEXT_POISONED_TAG
Marker prefix used in panic messages to signal a poisoned-context error. Matched by decider.
OUT_OF_MEMORY_TAG
Marker prefix for OOM errors that the supervisor should Resume past.
UNRECOVERABLE_TAG
Marker prefix for fatal errors that should stop the device entirely.

Functions§

decider
The supervisor decider used by DeviceActor to route ContextActor failures (§5.11).
device_supervisor_strategy
Build the SupervisorStrategy DeviceActor applies to its ContextActor child (§5.11). Three retries inside a one-minute window; past that, the circuit opens and the device stops.