[][src]Enum botfair::generated_types::ExecutionReportErrorCode

pub enum ExecutionReportErrorCode {
    ERROR_IN_MATCHER,
    PROCESSED_WITH_ERRORS,
    BET_ACTION_ERROR,
    INVALID_ACCOUNT_STATE,
    INVALID_WALLET_STATUS,
    INSUFFICIENT_FUNDS,
    LOSS_LIMIT_EXCEEDED,
    MARKET_SUSPENDED,
    MARKET_NOT_OPEN_FOR_BETTING,
    DUPLICATE_TRANSACTION,
    INVALID_ORDER,
    INVALID_MARKET_ID,
    PERMISSION_DENIED,
    DUPLICATE_BETIDS,
    NO_ACTION_REQUIRED,
    SERVICE_UNAVAILABLE,
    REJECTED_BY_REGULATOR,
    NO_CHASING,
    REGULATOR_IS_NOT_AVAILABLE,
    TOO_MANY_INSTRUCTIONS,
    INVALID_MARKET_VERSION,
    EVENT_EXPOSURE_LIMIT_EXCEEDED,
    EVENT_MATCHED_EXPOSURE_LIMIT_EXCEEDED,
    EVENT_BLOCKED,
}

Variants

ERROR_IN_MATCHER

The matcher's not healthy

PROCESSED_WITH_ERRORS

The order itself has been accepted, but at least one (possibly all) actions have generated errors

BET_ACTION_ERROR

There is an error with an action that has caused the entire order to be rejected

INVALID_ACCOUNT_STATE

Order rejected due to the account's status (suspended, inactive, dup cards)

INVALID_WALLET_STATUS

Order rejected due to the account's wallet's status

INSUFFICIENT_FUNDS

Account has exceeded its exposure limit or available to bet limit

LOSS_LIMIT_EXCEEDED

The account has exceed the self imposed loss limit

MARKET_SUSPENDED

Market is suspended

MARKET_NOT_OPEN_FOR_BETTING

Market is not open for betting, either inactive, suspended or closed

DUPLICATE_TRANSACTION

duplicate customer referece data submitted

INVALID_ORDER

Order cannot be accepted by the matcher due to the combination of actions. For example, bets being edited are not on the same market, or order includes both edits and placement

INVALID_MARKET_ID

Market doesn't exist

PERMISSION_DENIED

Business rules do not allow order to be placed

DUPLICATE_BETIDS

duplicate bet ids found

NO_ACTION_REQUIRED

Order hasn't been passed to matcher as system detected there will be no state change

SERVICE_UNAVAILABLE

The requested service is unavailable

REJECTED_BY_REGULATOR

The regulator rejected the order

NO_CHASING

A specific error code that relates to Spanish Exchange markets only which indicates that the bet placed contravenes the Spanish regulatory rules relating to loss chasing.

REGULATOR_IS_NOT_AVAILABLE

The underlying regulator service is not available.

TOO_MANY_INSTRUCTIONS

The amount of orders exceeded the maximum amount allowed to be executed

INVALID_MARKET_VERSION

The supplied market version is invalid. Max length allowed for market version is 12.

EVENT_EXPOSURE_LIMIT_EXCEEDED

Had the instructions been carried out, the account's self imposed event exposure limit would have been exceeded.

EVENT_MATCHED_EXPOSURE_LIMIT_EXCEEDED

Had the instructions been carried out, the account's self imposed matched event exposure limit would have been exceeded.

EVENT_BLOCKED

Betting on this event is blocked due to exposure limit breach. unblockMarketGroup operation should be invoked to enable betting.

Trait Implementations

impl Debug for ExecutionReportErrorCode[src]

impl Serialize for ExecutionReportErrorCode[src]

impl<'de> Deserialize<'de> for ExecutionReportErrorCode[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err