#[non_exhaustive]pub enum DispatchError {
Kernel(ArkheError),
ErasurePending {
user: UserId,
tick: Tick,
},
ProbeViewCorrupt,
}Expand description
Error surface for RuntimeService::dispatch.
dispatch is forge’s own maturing L2 API, so it returns this richer
enum rather than the kernel’s ArkheError directly: the GDPR
ErasurePending admission gate (C3) is an L2 concern with no kernel
error variant, so it is surfaced as its own arm. Kernel-level errors
pass through DispatchError::Kernel unchanged.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Kernel(ArkheError)
Kernel-side error from submit / step (e.g. InstanceNotFound).
ErasurePending
L2 admission gate rejected the action: the actor’s backing user is
in GdprStatus::ErasurePending, so the action is refused before it
reaches the WAL (E-user-3 C3 — admission control at the L2 boundary).
Fields
ProbeViewCorrupt
The admission-gate probe read corrupt view bytes while resolving the
actor’s UserBinding / UserGdprState. Fail closed rather than admit.
Trait Implementations§
Source§impl Debug for DispatchError
impl Debug for DispatchError
Source§impl Display for DispatchError
impl Display for DispatchError
Source§impl Error for DispatchError
impl Error for DispatchError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()