Struct mg_settings::errors::ParseError [] [src]

pub struct ParseError {
    pub expected: String,
    pub typ: ErrorType,
    pub unexpected: String,
    // some fields omitted
}

Struct which holds information about an error at a specific position.

Fields

The expected token.

The error type.

The unexpected token.

Methods

impl ParseError
[src]

[src]

Create a new error.

Trait Implementations

impl Debug for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ParseError
[src]

[src]

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

[src]

This method tests for !=.

impl Display for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError