Enum piston_meta::ParseError [] [src]

pub enum ParseError {
    ExpectedWhitespace(DebugId),
    ExpectedNewLine(DebugId),
    ExpectedSomething(DebugId),
    ExpectedNumber(DebugId),
    ParseNumberError(ParseNumberErrorDebugId),
    ExpectedText(DebugId),
    EmptyTextNotAllowed(DebugId),
    ParseStringError(ParseStringErrorDebugId),
    ExpectedTag(Arc<String>, DebugId),
    DidNotExpectTag(Arc<String>, DebugId),
    InvalidRule(&'static strDebugId),
    NoRules,
    ExpectedEnd,
    Conversion(String),
}

Errors reporting expected values.

Variants

Whitespace is required.

New line is required.

Something is required.

Expected number.

Error when parsing float.

Expected text.

Empty text not allowed.

Invalid string format.

Expected token.

Did not expected token.

An invalid rule.

No rules are specified.

Expected to reach the end.

Conversion error.

Trait Implementations

impl Debug for ParseError
[src]

Formats the value using the given formatter.

impl PartialEq for ParseError
[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 ParseError
[src]

Formats the value using the given formatter. Read more