Enum arpabet::ArpabetError[][src]

pub enum ArpabetError {
    EmptyFile,
    InvalidFormat {
        line_number: usize,
        text: String,
    },
    Io(Error),
}

Errors for the Arpabet crate.

Variants

The file or stream being read from was empty.

The file or stream contained invalid syntax.

Fields of InvalidFormat

Line where the error occurred.

Text of the offending line.

An error during file IO.

Trait Implementations

impl Debug for ArpabetError
[src]

Formats the value using the given formatter. Read more

impl Display for ArpabetError
[src]

Formats the value using the given formatter. Read more

impl Error for ArpabetError
[src]

This method is soft-deprecated. Read more

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

impl From<Error> for ArpabetError
[src]

Performs the conversion.

Auto Trait Implementations