Enum retrosheet::GameError [] [src]

pub enum GameError {
    InvalidEvent(State, Event),
    InvalidEventBeforeSub(Event),
    NoEventBeforeSub,
    ParsingDone,
    ParsingIncomplete,
    Unimplemented,
}

An error that occurs while processing a game.

Variants

The event provided is not valid in the current state.

The event before a substitution should always be a play, not something else.

The event before a substitution should always be a play.

Parsing was already completed, so we cannot parse more events.

Parsing was not done when the user attempted to complete game processing.

A portion of processing is not yet implemented.

Trait Implementations

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

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

This method tests for !=.

impl Display for Error
[src]

Formats the value using the given formatter. Read more