Struct rio_turtle::TurtleError
source · pub struct TurtleError { /* private fields */ }
Expand description
Error that might be returned during parsing.
It might wrap an IO error or be a parsing error.
Trait Implementations§
source§impl Debug for TurtleError
impl Debug for TurtleError
source§impl Display for TurtleError
impl Display for TurtleError
source§impl Error for TurtleError
impl Error for TurtleError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for TurtleError
impl From<Error> for TurtleError
source§impl From<TurtleError> for Error
impl From<TurtleError> for Error
source§fn from(error: TurtleError) -> Self
fn from(error: TurtleError) -> Self
Converts to this type from the input type.
source§impl ParseError for TurtleError
impl ParseError for TurtleError
source§fn textual_position(&self) -> Option<LineBytePosition>
fn textual_position(&self) -> Option<LineBytePosition>
Returns the position of the error in the text, if known.