Struct xml::reader::Error
[−]
[src]
pub struct Error { // some fields omitted }
An XML parsing error.
Consists of a 2D position in a document and a textual message describing the error.
Methods
impl Error
fn new<O: Position, S: Into<Cow<'static, str>>>(o: &O, msg: S) -> Error
[−]
Creates a new error using position information from the provided
Position
object and a message.
fn msg(&self) -> &str
[−]
Returns a reference to a message which is contained inside this error.