Skip to main content

Module error

Module error 

Source
Expand description

Backend-agnostic error taxonomy.

Every backend’s error type implements From<AccelError>, so generic code can return AccelError directly while backend-specific code keeps richer typed variants. The enum is #[non_exhaustive] — backends are free to add LibraryError tags ("cublas", "cudnn", "hipblas", "mps", etc.) without breaking core consumers.

Enums§

AccelError
Typed error enum surfaced through every actor reply channel.

Constants§

CONTEXT_POISONED_TAG
Marker prefix used in panic messages to signal a poisoned-context error. Backends panic with messages containing these tags so the supervisor decider can route to Restart / Resume / Stop / Escalate without parsing the typed enum from a panic payload.
OUT_OF_MEMORY_TAG
UNRECOVERABLE_TAG

Type Aliases§

AccelResult