Enum add_decimals::ErrorCode
source · [−]#[repr(u32)]
pub enum ErrorCode {
Show 15 variants
InitNonEmptyAccount,
InitWrapperSupplyNonZero,
InitWrapperUnderlyingOwnerMismatch,
InitWrapperUnderlyingMintMismatch,
InitMintAuthorityMismatch,
InitMultiplierOverflow,
InitWrapperDecimalsTooLow,
MintAmountOverflow,
InvalidBurnAmount,
InvalidWithdrawAmount,
InsufficientUnderlyingBalance,
InsufficientWrappedBalance,
ZeroAmount,
UnknownAction,
InitFreezeAuthorityMismatch,
}Expand description
Errors.
Variants
InitNonEmptyAccount
InitWrapperSupplyNonZero
InitWrapperUnderlyingOwnerMismatch
InitWrapperUnderlyingMintMismatch
InitMintAuthorityMismatch
InitMultiplierOverflow
InitWrapperDecimalsTooLow
MintAmountOverflow
InvalidBurnAmount
InvalidWithdrawAmount
InsufficientUnderlyingBalance
InsufficientWrappedBalance
ZeroAmount
UnknownAction
InitFreezeAuthorityMismatch
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more