Enum linera_execution::ExecutionError
source · pub enum ExecutionError {
Show 18 variants
ViewError(ViewError),
ArithmeticError(ArithmeticError),
SystemError(SystemExecutionError),
UserError(String),
WasmError(WasmExecutionError),
SessionWasNotClosed,
InvalidOperation,
InvalidMessage,
InvalidQuery,
CallApplicationFromQuery,
LockStateFromQuery,
InvalidSession,
SessionIsInUse,
InvalidSessionOwner,
ApplicationIsInUse,
ApplicationStateNotLocked,
InvalidBytecodeId(BytecodeId),
ApplicationBytecodeNotFound(Box<UserApplicationDescription>),
}
Variants§
ViewError(ViewError)
ArithmeticError(ArithmeticError)
SystemError(SystemExecutionError)
UserError(String)
WasmError(WasmExecutionError)
SessionWasNotClosed
InvalidOperation
InvalidMessage
InvalidQuery
CallApplicationFromQuery
LockStateFromQuery
InvalidSession
SessionIsInUse
InvalidSessionOwner
ApplicationIsInUse
ApplicationStateNotLocked
InvalidBytecodeId(BytecodeId)
ApplicationBytecodeNotFound(Box<UserApplicationDescription>)
Trait Implementations§
source§impl Debug for ExecutionError
impl Debug for ExecutionError
source§impl Display for ExecutionError
impl Display for ExecutionError
source§impl Error for ExecutionError
impl Error for ExecutionError
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<ArithmeticError> for ExecutionError
impl From<ArithmeticError> for ExecutionError
source§fn from(source: ArithmeticError) -> Self
fn from(source: ArithmeticError) -> Self
Converts to this type from the input type.
source§impl From<ExecutionError> for RuntimeError
impl From<ExecutionError> for RuntimeError
source§fn from(error: ExecutionError) -> Self
fn from(error: ExecutionError) -> Self
Converts to this type from the input type.
source§impl From<RuntimeError> for ExecutionError
impl From<RuntimeError> for ExecutionError
source§impl From<SystemExecutionError> for ExecutionError
impl From<SystemExecutionError> for ExecutionError
source§fn from(source: SystemExecutionError) -> Self
fn from(source: SystemExecutionError) -> Self
Converts to this type from the input type.
source§impl From<ViewError> for ExecutionError
impl From<ViewError> for ExecutionError
source§impl From<WasmExecutionError> for ExecutionError
impl From<WasmExecutionError> for ExecutionError
source§fn from(source: WasmExecutionError) -> Self
fn from(source: WasmExecutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionError
impl Send for ExecutionError
impl Sync for ExecutionError
impl Unpin for ExecutionError
impl !UnwindSafe for ExecutionError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Upcastable for Twhere
T: Any + Send + Sync + 'static,
impl<T> Upcastable for Twhere T: Any + Send + Sync + 'static,
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref