shacl_validation/constraints/
constraint_error.rs1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum ConstraintError {
5 #[error("Constraint not yet implemented: {}", ._0)]
6 NotImplemented(String),
7
8 #[error("Query error: {}", ._0)]
9 Query(String),
10
11 #[error("Expected IRI but found {term}")]
12 ExpectedIri { term: String },
13}