Module rdftk_iri::error [−][src]
Provides the IRI
specific Error
and Result
types.
Example
The following demonstrates the use of ErrorKind
in constructing an error
to return to the caller.
use rdftk_iri::IRI; use rdftk_iri::error::{ErrorKind, Result as IriResult}; fn some_operation() -> IriResult<IRI> { Err(ErrorKind::IsEmpty.into()) }
Structs
Error | The Error type. |
Enums
Component | Determines the component of the URI signaling the error. This is used by lower-level errors such as character parsing. |
ErrorKind | The kind of an error. |
Traits
ResultExt | Additional methods for |
Type Definitions
Result | Convenient wrapper around |