rudof_lib 0.2.17

RDF data shapes implementation in Rust
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

/// Errors that can occur when working with ShapeMaps.
#[derive(Error, Debug)]
pub enum ShapeMapError {
    /// The ShapeMap format specified is not supported by Rudof.
    #[error(
        "Unsupported ShapeMap format: '{format}'. Valid formats are: 'compact', 'internal', 'json', 'details', 'csv'"
    )]
    UnsupportedShapeMapFormat { format: String },
}