Enum spl_token_client::token::TokenError
source · pub enum TokenError {
Show 15 variants
Client(ProgramClientError),
Program(ProgramError),
AccountNotFound,
AccountInvalidOwner,
AccountInvalidMint,
AccountInvalidAssociatedAddress,
AccountInvalidAuxiliaryAddress,
Proof(ProofError),
MaximumDepositTransferAmountExceeded,
Key(SignerError),
AccountDecryption,
NotEnoughFunds,
MissingMemoSigner,
MissingDecimals,
InvalidDecimals,
}Variants§
Client(ProgramClientError)
Program(ProgramError)
AccountNotFound
AccountInvalidOwner
AccountInvalidMint
AccountInvalidAssociatedAddress
AccountInvalidAuxiliaryAddress
Proof(ProofError)
MaximumDepositTransferAmountExceeded
Key(SignerError)
AccountDecryption
NotEnoughFunds
MissingMemoSigner
MissingDecimals
InvalidDecimals
Trait Implementations§
source§impl Debug for TokenError
impl Debug for TokenError
source§impl Display for TokenError
impl Display for TokenError
source§impl Error for TokenError
impl Error for TokenError
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()