pub enum CompiledSchemaError {
Show 20 variants
Str2IriError {
str: String,
},
IriParseError {
str: String,
err: IriSError,
},
SchemaJsonError(SchemaJsonError),
DuplicatedTripleExprLabel {
label: TripleExprLabel,
},
MinLessZero {
min: i32,
},
MaxIncorrect {
max: i32,
},
NodeKindIri {
node: Node,
},
NodeKindBNode {
node: Node,
},
NodeKindLiteral {
node: Node,
},
NodeKindNonLiteral {
node: Node,
},
DatatypeDontMatch {
found: IriRef,
expected: IriRef,
lexical_form: String,
},
DatatypeNoLiteral {
expected: IriRef,
node: Node,
},
DatatypeDontMatchString {
expected: IriRef,
lexical_form: String,
},
DatatypeDontMatchLangString {
expected: IriRef,
lexical_form: String,
lang: Lang,
},
ShapeLabelNotFound {
shape_label: ShapeLabel,
},
Todo {
msg: String,
},
IriRef2ShapeLabelError {
prefix: String,
local: String,
},
PrefixedNotFound {
prefix: String,
local: String,
err: PrefixMapError,
},
LabelNotFound {
shape_label: ShapeLabel,
},
Internal {
msg: String,
},
}
Variants§
Str2IriError
IriParseError
SchemaJsonError(SchemaJsonError)
DuplicatedTripleExprLabel
Fields
§
label: TripleExprLabel
MinLessZero
MaxIncorrect
NodeKindIri
NodeKindBNode
NodeKindLiteral
NodeKindNonLiteral
DatatypeDontMatch
DatatypeNoLiteral
DatatypeDontMatchString
DatatypeDontMatchLangString
ShapeLabelNotFound
Fields
§
shape_label: ShapeLabel
Todo
IriRef2ShapeLabelError
PrefixedNotFound
LabelNotFound
Fields
§
shape_label: ShapeLabel
Internal
Trait Implementations§
source§impl Clone for CompiledSchemaError
impl Clone for CompiledSchemaError
source§fn clone(&self) -> CompiledSchemaError
fn clone(&self) -> CompiledSchemaError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompiledSchemaError
impl Debug for CompiledSchemaError
source§impl Display for CompiledSchemaError
impl Display for CompiledSchemaError
source§impl Error for CompiledSchemaError
impl Error for CompiledSchemaError
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<SchemaJsonError> for CompiledSchemaError
impl From<SchemaJsonError> for CompiledSchemaError
source§fn from(source: SchemaJsonError) -> Self
fn from(source: SchemaJsonError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CompiledSchemaError
impl Send for CompiledSchemaError
impl Sync for CompiledSchemaError
impl Unpin for CompiledSchemaError
impl UnwindSafe for CompiledSchemaError
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