rdf_structural_model/
error.rs1#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
5pub enum ModelError {
6 #[error("language tag is not well-formed BCP 47")]
8 InvalidLanguageTag,
9 #[error("blank-node identifier must not be empty")]
11 EmptyBlankNode,
12 #[error("literal datatype and language/direction facets disagree")]
14 InconsistentLiteralFacets,
15 #[error("term cannot occupy an RDF 1.2 subject position")]
17 InvalidSubject,
18 #[error("term cannot occupy an RDF 1.2 predicate position")]
20 InvalidPredicate,
21 #[error("term cannot occupy an RDF 1.2 graph-name position")]
23 InvalidGraphName,
24}