Enum translate_storage::Error [] [src]

pub enum Error {
    Io(usizeError),
    Parse(usizeOption<String>, Vec<&'static str>),
}

Error in reading (and, in future, writing) a catalogue.

Variants

An I/O error from file operation.

The first parameter is line number if applicable, the second is the system error.

A parse error.

Parameters are line number, optional unexpected token and an array of expected tokens. Unset unexpected token means the parser is not smart enough to remember what it stopped on. Empty array of expected items means the parser is not smart enough to remember what it could have accepted instead.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

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