Enum xml_builder::XMLError
source · pub enum XMLError {
InsertError(String),
IOError(String),
}
Expand description
Error type thrown by this crate
Variants§
InsertError(String)
Thrown when the given element cannot be inserted into the XML object tree.
IOError(String)
Thrown when the given Writer
cannot be written to.
Trait Implementations§
source§impl Error for XMLError
impl Error for XMLError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()