Enum rdf::error::ErrorType [−][src]
pub enum ErrorType { InvalidWriterOutput, InvalidReaderInput, InvalidToken, EndOfInput(InputChars), InvalidByteEncoding, InvalidNamespace, }
Different types of errors that can occur.
Variants
InvalidWriterOutput
RDF writer produces invalid RDF (e.g. if invalid node types are provided).
InvalidReaderInput
RDF lexer reads invalid RDF (e.g. non-closing string).
InvalidToken
RDF reader reads an invalid token (e.g. invalid node type).
EndOfInput(InputChars)
RDF reader reaches the end of the input and stores the characters that were read last.
InvalidByteEncoding
Input reader encounters invalid byte encoding.
InvalidNamespace
Incorrect namespace.