Enum odra_modules::erc20::errors::Error
source · pub enum Error {
InsufficientBalance = 30_000,
InsufficientAllowance = 30_001,
NameNotSet = 30_002,
SymbolNotSet = 30_003,
DecimalsNotSet = 30_004,
}Expand description
ERC20 errors
Variants§
InsufficientBalance = 30_000
Insufficient balance
InsufficientAllowance = 30_001
Insufficient allowance
NameNotSet = 30_002
Name not set
SymbolNotSet = 30_003
Symbol not set
DecimalsNotSet = 30_004
Decimals not set
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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