Enum valid_toml::Error
[−]
[src]
pub enum Error { FileError(Error), Missing(String), Parse(usize, usize, String), Validation(String, ValidationError), }
This enumeration identifies various errors that may occur when reading a TOML file.
Variants
FileError(Error)
There was a problem accessing the file.
Missing(String)
A required item is missing, contains the ID of the missing item.
Parse(usize, usize, String)
There was an error parsing the TOML file. Contains the row, column of the error as well as the actual error message.
Validation(String, ValidationError)
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.