#[repr(u32)]
pub enum AuctionHouseError {
Show 45 variants
PublicKeyMismatch,
InvalidMintAuthority,
UninitializedAccount,
IncorrectOwner,
PublicKeysShouldBeUnique,
StatementFalse,
NotRentExempt,
NumericalOverflow,
ExpectedSolAccount,
CannotExchangeSOLForSol,
SOLWalletMustSign,
CannotTakeThisActionWithoutAuctionHouseSignOff,
NoPayerPresent,
DerivedKeyInvalid,
MetadataDoesntExist,
InvalidTokenAmount,
BothPartiesNeedToAgreeToSale,
CannotMatchFreeSalesWithoutAuctionHouseOrSellerSignoff,
SaleRequiresSigner,
OldSellerNotInitialized,
SellerATACannotHaveDelegate,
BuyerATACannotHaveDelegate,
NoValidSignerPresent,
InvalidBasisPoints,
TradeStateDoesntExist,
TradeStateIsNotEmpty,
ReceiptIsEmpty,
InstructionMismatch,
InvalidAuctioneer,
MissingAuctioneerScope,
MustUseAuctioneerHandler,
NoAuctioneerProgramSet,
TooManyScopes,
AuctionHouseNotDelegated,
BumpSeedNotInHashMap,
EscrowUnderRentExemption,
InvalidSeedsOrAuctionHouseNotDelegated,
BuyerTradeStateNotValid,
MissingElementForPartialOrder,
NotEnoughTokensAvailableForPurchase,
PartialPriceMismatch,
AuctionHouseAlreadyDelegated,
AuctioneerAuthorityMismatch,
InsufficientFunds,
SaleRequiresExactlyOneSigner,
}
Variants§
PublicKeyMismatch
InvalidMintAuthority
UninitializedAccount
IncorrectOwner
PublicKeysShouldBeUnique
StatementFalse
NotRentExempt
NumericalOverflow
ExpectedSolAccount
CannotExchangeSOLForSol
SOLWalletMustSign
CannotTakeThisActionWithoutAuctionHouseSignOff
NoPayerPresent
DerivedKeyInvalid
MetadataDoesntExist
InvalidTokenAmount
BothPartiesNeedToAgreeToSale
CannotMatchFreeSalesWithoutAuctionHouseOrSellerSignoff
SaleRequiresSigner
OldSellerNotInitialized
SellerATACannotHaveDelegate
BuyerATACannotHaveDelegate
NoValidSignerPresent
InvalidBasisPoints
TradeStateDoesntExist
TradeStateIsNotEmpty
ReceiptIsEmpty
InstructionMismatch
InvalidAuctioneer
MissingAuctioneerScope
MustUseAuctioneerHandler
NoAuctioneerProgramSet
TooManyScopes
AuctionHouseNotDelegated
BumpSeedNotInHashMap
EscrowUnderRentExemption
InvalidSeedsOrAuctionHouseNotDelegated
BuyerTradeStateNotValid
MissingElementForPartialOrder
NotEnoughTokensAvailableForPurchase
PartialPriceMismatch
AuctionHouseAlreadyDelegated
AuctioneerAuthorityMismatch
InsufficientFunds
SaleRequiresExactlyOneSigner
Implementations§
Trait Implementations§
source§impl Clone for AuctionHouseError
impl Clone for AuctionHouseError
source§fn clone(&self) -> AuctionHouseError
fn clone(&self) -> AuctionHouseError
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 AuctionHouseError
impl Debug for AuctionHouseError
source§impl Display for AuctionHouseError
impl Display for AuctionHouseError
source§impl From<AuctionHouseError> for Error
impl From<AuctionHouseError> for Error
source§fn from(error_code: AuctionHouseError) -> Error
fn from(error_code: AuctionHouseError) -> Error
Converts to this type from the input type.
source§impl From<AuctionHouseError> for u32
impl From<AuctionHouseError> for u32
source§fn from(e: AuctionHouseError) -> u32
fn from(e: AuctionHouseError) -> u32
Converts to this type from the input type.