pub enum ApiError {
OutOfBounds,
IndexUnknown,
StorageFull,
BadCore,
NoCash,
GasLimitTooLow,
GasLimitTooHigh,
ActionInvalid,
}Variants§
OutOfBounds
OOB Invalid memory access.
IndexUnknown
WHO Target service is unknown.
StorageFull
FULL Too much storage is used by the service for its holdings.
BadCore
CORE Bad core index given.
NoCash
CASH The caller has too little funding.
GasLimitTooLow
LOW The gas limit provided is too low (lower than the amount of gas required for the
transfer).
GasLimitTooHigh
HIGH The gas limit provided is too high (higher than the amount of gas remaining).
ActionInvalid
HUH The hash is already solicited or forgotten.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiError
impl RefUnwindSafe for ApiError
impl Send for ApiError
impl Sync for ApiError
impl Unpin for ApiError
impl UnwindSafe for ApiError
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