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