pub enum RDFParseError {
Show 26 variants
NoFocusNode,
ExpectedBoolean {
term: String,
},
ExpectedInteger {
term: String,
},
ExpectedString {
term: String,
},
BlankNodeNoValue {
bnode: String,
},
SRDFError {
err: String,
},
NoValuesPredicate {
node: String,
pred: String,
},
NoValuesPredicateDebug {
node: String,
pred: String,
outgoing_arcs: String,
},
MoreThanOneValuePredicate {
node: String,
pred: String,
value1: String,
value2: String,
},
NoInstancesOf {
object: String,
},
MoreThanOneInstanceOf {
object: String,
value1: String,
value2: String,
},
ExpectedSubject {
node: String,
},
RecursiveRDFList {
node: String,
},
ExpectedIRI {
term: String,
},
ExpectedIRIFoundBNode {
bnode: String,
},
ExpectedLiteral {
term: String,
},
ExpectedFocusAsSubject {
focus: String,
},
UnexpectedBNode {
term: String,
},
ExpectedIRIFoundLiteral {
lit: Literal,
},
NodeDoesntSatisfyCondition {
condition_name: String,
node: String,
},
FailedOr {
err1: Box<RDFParseError>,
err2: Box<RDFParseError>,
},
FailedNot {
value: String,
},
ErrorSubjectsPredicateObject {
property: String,
value: String,
err: String,
},
UnknownType {
iri_type: IriS,
},
Custom {
msg: String,
},
PropertyValueExpectedIRI {
focus: String,
property: IriS,
error: String,
},
}
Variants§
NoFocusNode
ExpectedBoolean
ExpectedInteger
ExpectedString
BlankNodeNoValue
SRDFError
NoValuesPredicate
NoValuesPredicateDebug
MoreThanOneValuePredicate
NoInstancesOf
MoreThanOneInstanceOf
ExpectedSubject
RecursiveRDFList
ExpectedIRI
ExpectedIRIFoundBNode
ExpectedLiteral
ExpectedFocusAsSubject
UnexpectedBNode
ExpectedIRIFoundLiteral
NodeDoesntSatisfyCondition
FailedOr
FailedNot
ErrorSubjectsPredicateObject
UnknownType
Custom
PropertyValueExpectedIRI
Trait Implementations§
Source§impl Debug for RDFParseError
impl Debug for RDFParseError
Source§impl Display for RDFParseError
impl Display for RDFParseError
Source§impl Error for RDFParseError
impl Error for RDFParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for RDFParseError
impl PartialEq for RDFParseError
impl StructuralPartialEq for RDFParseError
Auto Trait Implementations§
impl Freeze for RDFParseError
impl RefUnwindSafe for RDFParseError
impl Send for RDFParseError
impl Sync for RDFParseError
impl Unpin for RDFParseError
impl UnwindSafe for RDFParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more