#[repr(u32)]
pub enum DFlowError {
Show 101 variants BidDidNotExceedBest, RetailOrderQueueFull, MarketMakerOrderQueueFull, _MessageNotSignedByRetailTrader, _NoDesignatedMarketMakerAvailable, _OrdersRequestedExceedsMax, OverFill, InvalidFillPrice, InvalidAuctionSpecified, PriceOracleNotTrading, InvalidVaultMetaVecMismatch, OrderDetailsParsingError, InvalidFillAmount, InvalidMinFillPrice, AuctionEpochInitInvalidOwner, NotAllRewardsDistributed, FillVotingHitMax, InvalidAuctionEpoch, InvalidFillVoteValue, VotingClosed, VoteRewardClaimingClosed, OverflowError, AuctionNotTakingOrders, InvalidOrderType, InvalidMarketMakerAccountAddress, AuctionIdAlreadyExists, InvalidNewOrderEpoch, InvalidYMint, OrderNotInRetailQueue, OrderNotInMarketMakerQueue, InvalidAuctionStatus, AuctionIsHalted, InvalidAuctionInit, InvalidXMint, InvalidOracles, UnableToFindMarketPrice, UnableToIdentifyCurrencyPair, MintDecimalsTooLarge, MintCaptureListEmpty, MintCaptureListSizeMismatch, QuoteCurrencyConversionOverflow, InvalidPriceOraclesPassed, OracleCaptureListEmpty, OracleForXMintNotFound, PythInvalidAccountData, PythBadVersionNumber, PythWrongAccountType, OtherPythError, InvalidNextAuctionEpoch, ArbiterDoesNotDeserveReward, InvalidNotionalSize, UnexpectedBufferSize, Ed25519InstructionNotIncluded, Ed25519InstructionInvalidSigCount, Ed25519InstructionInvalidSigOffset, Ed25519InstructionInvalidSigIndex, Ed25519InstructionInvalidSig, Ed25519InstructionInvalidPubKeyOffset, Ed25519InstructionInvalidPubKeyIndex, Ed25519InstructionInvalidPubKey, Ed25519InstructionInvalidMsgOffset, Ed25519InstructionInvalidMsgIndex, Ed25519InstructionInvalidMsg, InvalidMarketMakerEncryptionPubKey, InvalidRebateReceiverTokenAccount, InvalidMarketMaker, InvalidRetailYTokenAccount, FillNotYetCloseable, NoAuctionWinner, InvalidMarketMakerXTokenAccount, InvalidMarketMakerAccountOwner, InvalidBidRecoveryVaultAccountAddress, InvalidBidRecoveryVaultAccountNotWritable, InvalidXRecoveryVaultAccountAddress, InvalidXRecoveryVaultAccountNotWritable, InvalidCloseFillRemainingAccounts, InvalidCloseFillRetailDataAccount, InvalidCloseRetailDataAccountOpenOrders, InvalidCloseRetailDataAccountUnsettledFills, InvalidCloseRetailDataAccountWrongOwner, InvalidCloseAuctionEpochStateOpenOrders, InvalidCloseAuctionEpochStateUnsettledFills, InvalidCloseAuctionEpochStateAuctionActive, InvalidCloseAuctionEpochStateOwner, NotReclaimableByCurrentLeader, NotReclaimableInvalidMarketMakerOwner, InvalidAuctionStatusChange, InvalidYRecoveryVaultAccountAddress, InvalidYRecoveryVaultAccountNotWritable, InvalidFillOrderRemainingAccounts, InvalidEndorsement, InsufficientSignatoryStake, InvalidDFlowAdmin, InvalidWhitelistEntryType, AlreadyWhitelisted, NotWhitelisted, InvalidAuctionOwner, InvalidVotePeriod, InvalidClaimPeriod, NegativeClockUnixTimestamp, DFlowInvariantViolated,
}

Variants

BidDidNotExceedBest

RetailOrderQueueFull

MarketMakerOrderQueueFull

_MessageNotSignedByRetailTrader

_NoDesignatedMarketMakerAvailable

_OrdersRequestedExceedsMax

OverFill

InvalidFillPrice

InvalidAuctionSpecified

PriceOracleNotTrading

InvalidVaultMetaVecMismatch

OrderDetailsParsingError

InvalidFillAmount

InvalidMinFillPrice

AuctionEpochInitInvalidOwner

NotAllRewardsDistributed

FillVotingHitMax

InvalidAuctionEpoch

InvalidFillVoteValue

VotingClosed

VoteRewardClaimingClosed

OverflowError

AuctionNotTakingOrders

InvalidOrderType

InvalidMarketMakerAccountAddress

AuctionIdAlreadyExists

InvalidNewOrderEpoch

InvalidYMint

OrderNotInRetailQueue

OrderNotInMarketMakerQueue

InvalidAuctionStatus

AuctionIsHalted

InvalidAuctionInit

InvalidXMint

InvalidOracles

UnableToFindMarketPrice

UnableToIdentifyCurrencyPair

MintDecimalsTooLarge

MintCaptureListEmpty

MintCaptureListSizeMismatch

QuoteCurrencyConversionOverflow

InvalidPriceOraclesPassed

OracleCaptureListEmpty

OracleForXMintNotFound

PythInvalidAccountData

PythBadVersionNumber

PythWrongAccountType

OtherPythError

InvalidNextAuctionEpoch

ArbiterDoesNotDeserveReward

InvalidNotionalSize

Notional size outside of auction specification

UnexpectedBufferSize

Ed25519InstructionNotIncluded

Ed25519InstructionInvalidSigCount

Ed25519InstructionInvalidSigOffset

Ed25519InstructionInvalidSigIndex

Ed25519InstructionInvalidSig

Ed25519InstructionInvalidPubKeyOffset

Ed25519InstructionInvalidPubKeyIndex

Ed25519InstructionInvalidPubKey

Ed25519InstructionInvalidMsgOffset

Ed25519InstructionInvalidMsgIndex

Ed25519InstructionInvalidMsg

InvalidMarketMakerEncryptionPubKey

InvalidRebateReceiverTokenAccount

InvalidMarketMaker

InvalidRetailYTokenAccount

FillNotYetCloseable

NoAuctionWinner

InvalidMarketMakerXTokenAccount

CloseFillAccounts

InvalidMarketMakerAccountOwner

InvalidBidRecoveryVaultAccountAddress

InvalidBidRecoveryVaultAccountNotWritable

InvalidXRecoveryVaultAccountAddress

InvalidXRecoveryVaultAccountNotWritable

InvalidCloseFillRemainingAccounts

InvalidCloseFillRetailDataAccount

InvalidCloseRetailDataAccountOpenOrders

CloseRetailDataAccount

InvalidCloseRetailDataAccountUnsettledFills

InvalidCloseRetailDataAccountWrongOwner

InvalidCloseAuctionEpochStateOpenOrders

CloseAuctionEpochState

InvalidCloseAuctionEpochStateUnsettledFills

InvalidCloseAuctionEpochStateAuctionActive

InvalidCloseAuctionEpochStateOwner

NotReclaimableByCurrentLeader

NotReclaimableInvalidMarketMakerOwner

InvalidAuctionStatusChange

InvalidYRecoveryVaultAccountAddress

InvalidYRecoveryVaultAccountNotWritable

InvalidFillOrderRemainingAccounts

InvalidEndorsement

Signatory

InsufficientSignatoryStake

InvalidDFlowAdmin

Access control

InvalidWhitelistEntryType

AlreadyWhitelisted

NotWhitelisted

InvalidAuctionOwner

InvalidVotePeriod

InvalidClaimPeriod

NegativeClockUnixTimestamp

DFlowInvariantViolated

A DFlow program invariant was violated

Implementations

Gets the name of this [#enum_name].

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more