Skip to main content

ParseError

Type Alias ParseError 

Source
pub type ParseError = SyntaxError;
Expand description

Parser errors share the syntax error type.

Aliased Type§

pub struct ParseError {
    pub message: String,
    pub span: Span,
}

Fields§

§message: String

Human readable message (no position prefix).

§span: Span

Where the error happened.