Enum mpl_candy_machine::errors::CandyError
source · [−]#[repr(u32)]
pub enum CandyError {
Show 50 variants
IncorrectOwner,
Uninitialized,
MintMismatch,
IndexGreaterThanLength,
NumericalOverflowError,
TooManyCreators,
UuidMustBeExactly6Length,
NotEnoughTokens,
NotEnoughSOL,
TokenTransferFailed,
CandyMachineEmpty,
CandyMachineNotLive,
HiddenSettingsConfigsDoNotHaveConfigLines,
CannotChangeNumberOfLines,
DerivedKeyInvalid,
PublicKeyMismatch,
NoWhitelistToken,
TokenBurnFailed,
GatewayAppMissing,
GatewayTokenMissing,
GatewayTokenExpireTimeInvalid,
NetworkExpireFeatureMissing,
CannotFindUsableConfigLine,
InvalidString,
SuspiciousTransaction,
CannotSwitchToHiddenSettings,
IncorrectSlotHashesPubkey,
IncorrectCollectionAuthority,
MismatchedCollectionPDA,
MismatchedCollectionMint,
SlotHashesEmpty,
MetadataAccountMustBeEmpty,
MissingSetCollectionDuringMint,
NoChangingCollectionDuringMint,
CandyCollectionRequiresRetainAuthority,
GatewayProgramError,
NoChangingFreezeDuringMint,
NoChangingAuthorityWithFreeze,
NoChangingTokenWithFreeze,
InvalidThawNft,
IncorrectRemainingAccountsLen,
MissingFreezeAta,
IncorrectFreezeAta,
FreezePDAMismatch,
EnteredFreezeIsMoreThanMaxFreeze,
NoWithdrawWithFreeze,
NoWithdrawWithFrozenFunds,
MissingRemoveFreezeTokenAccounts,
InvalidFreezeWithdrawTokenAddress,
NoUnlockWithNFTsStillFrozen,
}
Variants
IncorrectOwner
Uninitialized
MintMismatch
IndexGreaterThanLength
NumericalOverflowError
TooManyCreators
UuidMustBeExactly6Length
NotEnoughTokens
NotEnoughSOL
TokenTransferFailed
CandyMachineEmpty
CandyMachineNotLive
HiddenSettingsConfigsDoNotHaveConfigLines
CannotChangeNumberOfLines
DerivedKeyInvalid
PublicKeyMismatch
NoWhitelistToken
TokenBurnFailed
GatewayAppMissing
GatewayTokenMissing
GatewayTokenExpireTimeInvalid
NetworkExpireFeatureMissing
CannotFindUsableConfigLine
InvalidString
SuspiciousTransaction
CannotSwitchToHiddenSettings
IncorrectSlotHashesPubkey
IncorrectCollectionAuthority
MismatchedCollectionPDA
MismatchedCollectionMint
SlotHashesEmpty
MetadataAccountMustBeEmpty
MissingSetCollectionDuringMint
NoChangingCollectionDuringMint
CandyCollectionRequiresRetainAuthority
GatewayProgramError
NoChangingFreezeDuringMint
NoChangingAuthorityWithFreeze
NoChangingTokenWithFreeze
InvalidThawNft
IncorrectRemainingAccountsLen
MissingFreezeAta
IncorrectFreezeAta
FreezePDAMismatch
EnteredFreezeIsMoreThanMaxFreeze
NoWithdrawWithFreeze
NoWithdrawWithFrozenFunds
MissingRemoveFreezeTokenAccounts
InvalidFreezeWithdrawTokenAddress
NoUnlockWithNFTsStillFrozen
Implementations
sourceimpl CandyError
impl CandyError
Trait Implementations
sourceimpl Clone for CandyError
impl Clone for CandyError
sourcefn clone(&self) -> CandyError
fn clone(&self) -> CandyError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CandyError
impl Debug for CandyError
sourceimpl Display for CandyError
impl Display for CandyError
sourceimpl From<CandyError> for Error
impl From<CandyError> for Error
sourcefn from(error_code: CandyError) -> Error
fn from(error_code: CandyError) -> Error
Converts to this type from the input type.
sourceimpl From<CandyError> for u32
impl From<CandyError> for u32
sourcefn from(e: CandyError) -> u32
fn from(e: CandyError) -> u32
Converts to this type from the input type.
impl Copy for CandyError
Auto Trait Implementations
impl RefUnwindSafe for CandyError
impl Send for CandyError
impl Sync for CandyError
impl Unpin for CandyError
impl UnwindSafe for CandyError
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more