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

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

Possible error occuring during an Auction.

Variants

AuctionClosed

The auction was closed and does not accept more contracts.

TurnError

A player tried bidding before his turn.

NonRaisedTarget

The given bid was not higher than the previous one.

AuctionRunning

Cannot complete the auction when it is still running.

NoContract

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

OverCoinche

The contract was coinched too many times.

Trait Implementations

impl Display for BidError

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for BidError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for BidError

fn eq(&self, __arg_0: &BidError) -> bool

fn ne(&self, __arg_0: &BidError) -> bool