Struct abortable_parser::Error[][src]

pub struct Error { /* fields omitted */ }

The custom error type for use in Result::{Fail, Abort}. Stores a wrapped err that must implement Display as well as an offset and an optional cause.

Methods

impl Error
[src]

Constructs a new Error with an offset and no cause.

Constructs a new Error with an offset and a cause.

Returns the msg.

Returns Some(cause) if there is one, None otherwise.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error