Struct mg_settings::error::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 !=.

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more

impl Error for ParseError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more