Enum mpl_candy_machine::errors::CandyError
source · #[repr(u32)]
pub enum CandyError {
Show 52 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,
NoChangingAuthorityWithCollection,
NoChangingTokenWithFreeze,
InvalidThawNft,
IncorrectRemainingAccountsLen,
MissingFreezeAta,
IncorrectFreezeAta,
FreezePDAMismatch,
EnteredFreezeIsMoreThanMaxFreeze,
NoWithdrawWithFreeze,
NoWithdrawWithFrozenFunds,
MissingRemoveFreezeTokenAccounts,
InvalidFreezeWithdrawTokenAddress,
NoUnlockWithNFTsStillFrozen,
SizedCollectionMetadataMustBeMutable,
CannotSwitchFromHiddenSettings,
}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
NoChangingAuthorityWithCollection
NoChangingTokenWithFreeze
InvalidThawNft
IncorrectRemainingAccountsLen
MissingFreezeAta
IncorrectFreezeAta
FreezePDAMismatch
EnteredFreezeIsMoreThanMaxFreeze
NoWithdrawWithFreeze
NoWithdrawWithFrozenFunds
MissingRemoveFreezeTokenAccounts
InvalidFreezeWithdrawTokenAddress
NoUnlockWithNFTsStillFrozen
SizedCollectionMetadataMustBeMutable
CannotSwitchFromHiddenSettings
Implementations§
Trait Implementations§
source§impl Clone for CandyError
impl Clone for CandyError
source§fn clone(&self) -> CandyError
fn clone(&self) -> CandyError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CandyError
impl Debug for CandyError
source§impl Display for CandyError
impl Display for CandyError
source§impl From<CandyError> for Error
impl From<CandyError> for Error
source§fn from(error_code: CandyError) -> Error
fn from(error_code: CandyError) -> Error
Converts to this type from the input type.
source§impl From<CandyError> for u32
impl From<CandyError> for u32
source§fn from(e: CandyError) -> u32
fn from(e: CandyError) -> u32
Converts to this type from the input type.