shacl_ast 0.1.91

RDF data shapes implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use srdf::{Object, RDFNode};
use thiserror::Error;

#[derive(Debug, Error)]
pub enum ShaclError {
    #[error("NodeShape has an id which is not an IRI: {id}")]
    NodeShapeIdNotIri { id: RDFNode },

    #[error("Not found shape {shape}")]
    ShapeNotFound { shape: Object },
}