Enum avm_server::AVMError
source · pub enum AVMError<E> {
InterpreterFailed(ErrorAVMOutcome),
RunnerError(RunnerError),
DataStoreError(E),
AnomalyDataSeError(SerdeError),
}Variants§
InterpreterFailed(ErrorAVMOutcome)
This error contains interpreter outcome in case when execution failed on the interpreter side. A host should match on this error type explicitly to save provided data.
RunnerError(RunnerError)
This errors are encountered from an AVM runner.
DataStoreError(E)
This errors are encountered from a data store object.
AnomalyDataSeError(SerdeError)
This errors are encountered from serialization of data tracked during an anomaly.
Trait Implementations§
source§impl<E> Error for AVMError<E>where
E: Error,
Self: Debug + Display,
impl<E> Error for AVMError<E>where
E: Error,
Self: Debug + Display,
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()