Struct mediawiki_parser::TransformationError
[−]
[src]
pub struct TransformationError { pub cause: String, pub position: Span, pub transformation_name: String, pub tree: Element, }
Error structure for syntax tree transformations.
Fields
cause: String
position: Span
transformation_name: String
tree: Element
Trait Implementations
impl Debug for TransformationError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for TransformationError
[src]
fn eq(&self, __arg_0: &TransformationError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TransformationError) -> bool
[src]
This method tests for !=
.
impl Error for TransformationError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more