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]

Create a new 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 !=.