Enum libcoinche::bid::BidError [] [src]

pub enum BidError {
    AuctionClosed,
    TurnError,
    NonRaisedTarget,
    AuctionRunning,
    NoContract,
    OverCoinche,
}

Possible error occuring during an Auction.

Variants

The auction was closed and does not accept more contracts.

A player tried bidding before his turn.

The given bid was not higher than the previous one.

Cannot complete the auction when it is still running.

No contract was offered during the auction, it cannot complete.

The contract was coinched too many times.

Trait Implementations

impl PartialEq for BidError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for BidError
[src]

Formats the value using the given formatter.

impl Display for BidError
[src]

Formats the value using the given formatter. Read more