#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
pub enum ModelError {
#[error("language tag is not well-formed BCP 47")]
InvalidLanguageTag,
#[error("blank-node identifier must not be empty")]
EmptyBlankNode,
#[error("literal datatype and language/direction facets disagree")]
InconsistentLiteralFacets,
#[error("term cannot occupy an RDF 1.2 subject position")]
InvalidSubject,
#[error("term cannot occupy an RDF 1.2 predicate position")]
InvalidPredicate,
#[error("term cannot occupy an RDF 1.2 graph-name position")]
InvalidGraphName,
}