Enum mpl_fixed_price_sale::error::ErrorCode
source · [−]#[repr(u32)]
pub enum ErrorCode {
Show 44 variants
NoValidSignerPresent,
StringIsTooLong,
NameIsTooLong,
DescriptionIsTooLong,
SupplyIsGtThanAvailable,
SupplyIsNotProvided,
DerivedKeyInvalid,
SellingResourceOwnerInvalid,
PublicKeyMismatch,
PiecesInOneWalletIsTooMuch,
StartDateIsInPast,
EndDateIsEarlierThanBeginDate,
IncorrectOwner,
MarketIsNotStarted,
MarketIsEnded,
UserReachBuyLimit,
MathOverflow,
SupplyIsGtThanMaxSupply,
MarketDurationIsNotUnlimited,
MarketIsSuspended,
MarketIsImmutable,
MarketInInvalidState,
PriceIsZero,
FunderIsInvalid,
PayoutTicketExists,
InvalidFunderDestination,
TreasuryIsNotEmpty,
SellingResourceAlreadyTaken,
MetadataCreatorsIsEmpty,
UserWalletMustMatchUserTokenAccount,
MetadataShouldBeMutable,
PrimarySaleIsNotAllowed,
CreatorsIsGtThanAvailable,
CreatorsIsEmpty,
MarketOwnerDoesntHaveShares,
PrimaryMetadataCreatorsNotProvided,
GatingTokenMissing,
InvalidOwnerForGatingToken,
WrongGatingMetadataAccount,
WrongOwnerInTokenGatingAcc,
WrongGatingDate,
CollectionMintMissing,
WrongCollectionMintKey,
WrongGatingToken,
}
Variants
NoValidSignerPresent
StringIsTooLong
NameIsTooLong
DescriptionIsTooLong
SupplyIsGtThanAvailable
SupplyIsNotProvided
DerivedKeyInvalid
SellingResourceOwnerInvalid
PublicKeyMismatch
PiecesInOneWalletIsTooMuch
StartDateIsInPast
EndDateIsEarlierThanBeginDate
IncorrectOwner
MarketIsNotStarted
MarketIsEnded
UserReachBuyLimit
MathOverflow
SupplyIsGtThanMaxSupply
MarketDurationIsNotUnlimited
MarketIsSuspended
MarketIsImmutable
MarketInInvalidState
PriceIsZero
FunderIsInvalid
PayoutTicketExists
InvalidFunderDestination
TreasuryIsNotEmpty
SellingResourceAlreadyTaken
MetadataCreatorsIsEmpty
UserWalletMustMatchUserTokenAccount
MetadataShouldBeMutable
PrimarySaleIsNotAllowed
CreatorsIsGtThanAvailable
CreatorsIsEmpty
MarketOwnerDoesntHaveShares
PrimaryMetadataCreatorsNotProvided
GatingTokenMissing
InvalidOwnerForGatingToken
WrongGatingMetadataAccount
WrongOwnerInTokenGatingAcc
WrongGatingDate
CollectionMintMissing
WrongCollectionMintKey
WrongGatingToken
Implementations
Trait Implementations
impl Copy for ErrorCode
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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