pub enum AxiomError {
Show 21 variants
OutOfGas,
CallDepthExceeded,
InvalidOpcode(u8),
DivisionByZero,
ArithmeticOverflow,
InvalidJumpTarget(u32),
InvalidRegister(u8),
InvalidConstIndex(u16),
ReturnDataTooLarge,
InvalidLength(usize),
LogTooLarge,
StorageReadFailed,
StorageWriteFailed,
Unauthorized,
AssertFailed,
CrossCellFailed(String),
BufOverflow,
Trap(u16),
InvalidBytecode,
InvalidMagic,
NotImplemented(u8),
}Variants§
OutOfGas
CallDepthExceeded
InvalidOpcode(u8)
DivisionByZero
ArithmeticOverflow
InvalidJumpTarget(u32)
InvalidRegister(u8)
InvalidConstIndex(u16)
ReturnDataTooLarge
InvalidLength(usize)
LogTooLarge
StorageReadFailed
StorageWriteFailed
AssertFailed
CrossCellFailed(String)
BufOverflow
Trap(u16)
InvalidBytecode
InvalidMagic
NotImplemented(u8)
Implementations§
Trait Implementations§
Source§impl Clone for AxiomError
impl Clone for AxiomError
Source§fn clone(&self) -> AxiomError
fn clone(&self) -> AxiomError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AxiomError
impl Debug for AxiomError
Source§impl Display for AxiomError
impl Display for AxiomError
impl Eq for AxiomError
Source§impl PartialEq for AxiomError
impl PartialEq for AxiomError
Source§fn eq(&self, other: &AxiomError) -> bool
fn eq(&self, other: &AxiomError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AxiomError
Auto Trait Implementations§
impl Freeze for AxiomError
impl RefUnwindSafe for AxiomError
impl Send for AxiomError
impl Sync for AxiomError
impl Unpin for AxiomError
impl UnsafeUnpin for AxiomError
impl UnwindSafe for AxiomError
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