Enum valid_toml::Error [] [src]

pub enum Error {
    FileError(Error),
    Missing(String),
    Parse(usizeusizeString),
    Validation(StringValidationError),
}

This enumeration identifies various errors that may occur when reading a TOML file.

Variants

There was a problem accessing the file.

A required item is missing, contains the ID of the missing item.

There was an error parsing the TOML file. Contains the row, column of the error as well as the actual error message.

There was an error validation an element inside the TOML file. Contains the ID of the item that caused the issue as well as the problem.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Display a nice message for the warning.