Enum scroll::Error [] [src]

pub enum Error {
    BadOffset(usize),
    BadRange(Range<usize>, usize),
    BadInput(Range<usize>, usize, &'static str),
    Custom(String),
    IO(Error),
}

A custom Scroll error

Variants

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

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

impl From<Error> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more