shapemap 0.1.116

RDF data shapes implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use shex_ast::{Node, ir::shape_label::ShapeLabel};
use thiserror::Error;

use crate::ValidationStatus;

#[derive(Error, Debug)]
pub enum ShapemapError {
    #[error(
        "Trying to create an inconsistent status on node {node} and shape {label}. Old status: {old_status}, new status: {new_status}"
    )]
    InconsistentStatus {
        node: Box<Node>,
        label: Box<ShapeLabel>,
        old_status: ValidationStatus,
        new_status: ValidationStatus,
    },
}