Enum quire::Error
[−]
pub enum Error { OpenError(PathBuf, Error), TokenizerError(ErrorPos, Error), ParseError(ErrorPos, String), ValidationError(ErrorPos, String), PreprocessError(ErrorPos, String), DecodeError(ErrorPos, String, String), }
Single error when of parsing configuration file
Usually you use ErrorList
which embeds multiple errors encountered
during configuration file parsing
Variants
OpenError(PathBuf, Error)
TokenizerError(ErrorPos, Error)
ParseError(ErrorPos, String)
ValidationError(ErrorPos, String)
PreprocessError(ErrorPos, String)
DecodeError(ErrorPos, String, String)
Methods
impl Error
[src]
fn parse_error(pos: &Pos, message: String) -> Error
fn tokenizer_error((pos, err): (Pos, Error)) -> Error
fn validation_error(pos: &Pos, message: String) -> Error
fn decode_error(pos: &Pos, path: &String, message: String) -> Error
fn preprocess_error(pos: &Pos, message: String) -> Error
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more