Type Alias PestError

Source
pub type PestError = Error<Rule>;

Aliased Type§

struct PestError {
    pub variant: ErrorVariant<Rule>,
    pub location: InputLocation,
    pub line_col: LineColLocation,
    /* private fields */
}

Fields§

§variant: ErrorVariant<Rule>

Variant of the error

§location: InputLocation

Location within the input string

§line_col: LineColLocation

Line/column within the input string