Struct slr_lexer::Error [] [src]

pub struct Error {
    pub kind: ErrorKind,
    pub text: String,
}

The error type used throughout this crate.

Fields

Methods

impl Error
[src]

Creates an error from a certain span of the source. The source argument, if set, must be set to the source that was used when the span was created.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more