Struct whitespacers::WsError
[−]
[src]
pub struct WsError { pub kind: WsErrorKind, // some fields omitted }
The common error type returned from all whitespacers execution functions.
Fields
kind: WsErrorKind
The kind of error that occurred.
Methods
impl WsError
[src]
fn format_with_program(&self, program: &Program) -> String
Provide a nice error message using information stored in the program structure
Trait Implementations
impl Debug for WsError
[src]
impl Display for WsError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for WsError
[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