Enum yash_syntax::parser::ErrorCause
source · [−]pub enum ErrorCause {
Io(Rc<Error>),
Syntax(SyntaxError),
}
Expand description
Types of errors that may happen in parsing.
Variants
Io(Rc<Error>)
Error in an underlying input function.
Syntax(SyntaxError)
Syntax error.
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ErrorCause
impl !Send for ErrorCause
impl !Sync for ErrorCause
impl Unpin for ErrorCause
impl !UnwindSafe for ErrorCause
Blanket Implementations
Mutably borrows from an owned value. Read more