nushell/src/parse_error.rs
2021-07-01 12:01:04 +12:00

10 lines
175 B
Rust

pub use crate::Span;
#[derive(Debug)]
pub enum ParseError {
ExtraTokens(Span),
UnexpectedEof(String, Span),
UnknownStatement(Span),
Mismatch(String, Span),
}