pub enum StepError {
PropagatorFailed {
name: String,
reason: PropagatorError,
},
AllocationFailed,
TickRollback,
TickDisabled,
DtOutOfRange,
ShuttingDown,
}Expand description
Errors from the tick engine during step().
Corresponds to the TickEngine and Pipeline subsystem codes in HLD §9.7.
Variants§
PropagatorFailed
A propagator returned an error during execution
(MURK_ERROR_PROPAGATOR_FAILED).
Fields
§
reason: PropagatorErrorThe underlying propagator error.
AllocationFailed
Arena allocation failed — OOM during generation staging
(MURK_ERROR_ALLOCATION_FAILED).
TickRollback
The tick was rolled back due to a propagator failure
(MURK_ERROR_TICK_ROLLBACK).
TickDisabled
Ticking is disabled after consecutive rollbacks
(MURK_ERROR_TICK_DISABLED, Decision J).
DtOutOfRange
The requested dt exceeds a propagator’s max_dt constraint
(MURK_ERROR_DT_OUT_OF_RANGE).
ShuttingDown
The world is shutting down
(MURK_ERROR_SHUTTING_DOWN, Decision E).
Trait Implementations§
Source§impl Error for StepError
impl Error for StepError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for StepError
impl RefUnwindSafe for StepError
impl Send for StepError
impl Sync for StepError
impl Unpin for StepError
impl UnsafeUnpin for StepError
impl UnwindSafe for StepError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more