Struct sexp::Error
[−]
[src]
pub struct Error { pub message: &'static str, pub line: usize, pub column: usize, pub index: usize, }
The representation of an s-expression parse error.
Fields
message: &'static str
The error message.
line: usize
The line number on which the error occurred.
column: usize
The column number on which the error occurred.
index: usize
The index in the given string which caused the error.
Trait Implementations
impl Error for Error
[src]
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
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more