Enum mpl_candy_machine_core::errors::CandyError
source · [−]#[repr(u32)]
pub enum CandyError {
Show 21 variants
IncorrectOwner,
Uninitialized,
MintMismatch,
IndexGreaterThanLength,
NumericalOverflowError,
TooManyCreators,
CandyMachineEmpty,
HiddenSettingsDoNotHaveConfigLines,
CannotChangeNumberOfLines,
CannotSwitchToHiddenSettings,
IncorrectCollectionAuthority,
MetadataAccountMustBeEmpty,
NoChangingCollectionDuringMint,
ExceededLengthError,
MissingConfigLinesSettings,
CannotIncreaseLength,
CannotSwitchFromHiddenSettings,
CannotChangeSequentialIndexGeneration,
CollectionKeyMismatch,
CouldNotRetrieveConfigLineData,
NotFullyLoaded,
}
Variants
IncorrectOwner
Uninitialized
MintMismatch
IndexGreaterThanLength
NumericalOverflowError
TooManyCreators
CandyMachineEmpty
HiddenSettingsDoNotHaveConfigLines
CannotChangeNumberOfLines
CannotSwitchToHiddenSettings
IncorrectCollectionAuthority
MetadataAccountMustBeEmpty
NoChangingCollectionDuringMint
ExceededLengthError
MissingConfigLinesSettings
CannotIncreaseLength
CannotSwitchFromHiddenSettings
CannotChangeSequentialIndexGeneration
CollectionKeyMismatch
CouldNotRetrieveConfigLineData
NotFullyLoaded
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 moresourceimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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