Enum air_trace_handler::KeeperError
source · pub enum KeeperError {
SetSubtraceLenFailed {
requested_subtrace_len: usize,
trace_position: TracePos,
trace_len: usize,
},
SetSubtraceLenAndPosFailed {
requested_pos: TracePos,
requested_subtrace_len: usize,
trace_len: usize,
},
NoElementAtPosition {
position: TracePos,
trace_len: usize,
},
NoStreamState {
state: ExecutedState,
},
}Expand description
Errors arose out while accessing various interpreter data.
Variants§
SetSubtraceLenFailed
Errors occurred when trace_len - trace_position < requested_subtrace_len.
SetSubtraceLenAndPosFailed
Errors occurred when requested_subtrace_len != 0 && requested_pos + requested_subtrace_len > trace_len.
NoElementAtPosition
Errors occurred when Fold FSM tries to obtain stream generation by value_pos from a trace, but this value_pos is bigger than the trace length.
NoStreamState
Fields
§
state: ExecutedStateErrors occurred when Fold FSM tries to obtain stream generation by value_pos from a trace, but such state doesn’t belong to values in streams (it doesn’t contain a generation).
Trait Implementations§
source§impl Debug for KeeperError
impl Debug for KeeperError
source§impl Display for KeeperError
impl Display for KeeperError
source§impl Error for KeeperError
impl Error for KeeperError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<KeeperError> for MergeError
impl From<KeeperError> for MergeError
source§fn from(source: KeeperError) -> Self
fn from(source: KeeperError) -> Self
Converts to this type from the input type.
source§impl From<KeeperError> for StateFSMError
impl From<KeeperError> for StateFSMError
source§fn from(source: KeeperError) -> Self
fn from(source: KeeperError) -> Self
Converts to this type from the input type.
source§impl From<KeeperError> for TraceHandlerError
impl From<KeeperError> for TraceHandlerError
source§fn from(source: KeeperError) -> Self
fn from(source: KeeperError) -> Self
Converts to this type from the input type.
source§impl PartialEq<KeeperError> for KeeperError
impl PartialEq<KeeperError> for KeeperError
source§fn eq(&self, other: &KeeperError) -> bool
fn eq(&self, other: &KeeperError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.