Enum minidom::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), XmlWriterError(WriterError), XmlReaderError(ReaderError), IoError(Error), EndOfDocument, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
XmlWriterError(WriterError)
An error with writing an XML event, from xml::writer::EventWriter.
XmlReaderError(ReaderError)
An error with reading an XML event, from xml::reader::EventReader.
IoError(Error)
An I/O error, from std::io.
EndOfDocument
En error which is returned when the end of the document was reached prematurely.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.