shacl-structural-model 6.3.0

Typed SHACL structural values for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Errors produced while decoding standard SHACL enum values.

/// Errors raised by structural constructors and standard-value decoding.
#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
pub enum StructuralModelError {
    /// An IRI did not identify a known SHACL node kind.
    #[error("unknown SHACL node kind IRI: {value}")]
    UnknownNodeKind {
        /// The unrecognised IRI.
        value: String,
    },
    /// A severity value was not a valid absolute IRI.
    #[error("invalid SHACL severity IRI: {value}")]
    InvalidSeverityIri {
        /// The invalid IRI text.
        value: String,
    },
}