Enum xmlparser::Error [−][src]
pub enum Error {
InvalidToken(TokenType, TextPos, Option<StreamError>),
UnexpectedToken(TokenType, TextPos),
UnknownToken(TextPos),
}An XML parser errors.
Variants
InvalidToken(TokenType, TextPos, Option<StreamError>)An invalid token with an optional cause.
UnexpectedToken(TokenType, TextPos)An unexpected token.
UnknownToken(TextPos)An unknown token.
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for Error[src]
impl Error for Error