Skip to main content

RudofError

Enum RudofError 

Source
pub enum RudofError {
Show 121 variants DataFormatError { error: DataFormatError, }, QualifyObject { object: String, error: String, }, QualifySubject { subject: String, error: String, }, NodeResolveError { node: String, error: String, }, IriRefParseError { iri: String, error: String, }, PredicateResolveError { predicate: String, error: String, }, LiteralNotSubject { node: String, }, NodeNotSubject { node: String, }, NodeNotFound { node: String, }, IncomingArcs { object: String, error: String, }, OutgoingArcs { subject: String, error: String, }, InvalidMode { mode: String, expected: String, }, NodeSelectorParseError { node_selector: String, error: String, }, ShapeSelectorParseError { shape_selector: String, error: String, }, NodeInfoFormatError { error: String, }, RudofConfigFromStrError { str: String, error: String, }, RdfDataConfigError { error: String, }, IOErro(Error), InvalidShapeLabel { label: String, error: String, }, CurrentDirError { error: String, }, ConvertingCurrentFolderUrl { current_dir: String, }, SourceNameIriError { source_name: String, error: String, }, SparqlSyntaxError { error: String, source_name: String, }, InvalidEndpointIri { endpoint: String, error: String, }, InvalidEndpoint { endpoint: String, error: String, }, QueryEndpointError { endpoint: String, error: String, query: String, }, ParsingUrlReadingServiceDescriptionUrl { url: String, error: String, }, ReadingServiceDescriptionUrl { url: String, error: String, }, Generic { error: String, }, CoShaMoFromShExError { schema: String, error: String, }, InvalidCompareSchemaFormat { format: String, error: String, }, RdfConfigReadError { error: String, }, ShaclCompilation { error: Box<CompiledShaclError>, }, RudofConfigFromPathError { path: String, error: Error, }, RudofConfigTomlError { path: String, error: Error, }, QueryError { str: String, error: String, }, StorageError { error: String, }, BaseIriError { str: String, error: String, }, ShExCParserError { error: String, source_name: String, }, ShExJParserError { error: String, source_name: String, }, CompilingSchemaError { error: String, }, ShExValidatorUndefined {}, ShExValidatorCreationError { schema: String, error: String, }, ShExValidatorError { schema: String, rdf_data: String, query_map: String, error: String, }, ShExValidatorObtainingResultMapError { schema: String, rdf_data: String, shapemap: String, error: String, }, NodeSelectorError { node_selector: String, error: String, }, Term2Subject { term: String, error: String, }, MergeRDFDataFromReader { source_name: String, format: String, base: String, reader_mode: String, error: String, }, Utf8Error { error: String, }, ShapeMapParseError { source_name: String, str: String, error: String, }, ReadError { error: String, }, ReadingSHACLError { reader: String, error: String, format: String, }, ReadingSHACLFromGraphError { error: String, format: String, reader_name: String, }, AddingEndpointError { iri: IriS, error: String, }, NoShapeMap { schema: String, }, ResolvingImportsShExSchema { error: String, }, NoShExSchemaForResolvingImports, InternalSHACLFormatNonReadable, SHACLParseError { error: String, }, SHACLCompilationError { error: String, schema: Box<ShaclSchema<RdfData>>, }, SHACLValidationError { error: String, schema: Box<ShaclSchema<RdfData>>, }, SHACLEndpointValidationCreation { error: String, endpoint: Box<SparqlEndpointError>, }, ParsingRDFDataReader { error: String, }, NoGraphNoFirstEndpoint, NoShaclSchema, NoShExSchemaToSerialize, NoDCTAP, ShEx2UmlWithoutShEx, ShEx2PlantUmlError { error: String, }, RDF2PlantUmlError { error: String, }, ShEx2PlantUmlErrorAsPlantUML { error: String, }, RDF2PlantUmlErrorAsPlantUML { error: String, }, ReadingShExPath { path: String, error: String, }, ReadingUrlContext { url: String, error: String, context: String, }, ParsingInputSpecContext { input: String, error: String, context: String, }, NoCurrentSPARQLQuery, NotSelectQuery { query: String, }, NotConstructQuery { query: String, }, ReadingInputSpecContext { input: String, error: String, context: String, }, ParsingUrlContext { url: String, error: String, context: String, }, ReadingPathContext { path: String, error: String, context: String, }, ErrorFormattingSchema { schema: String, error: String, }, ErrorFormattingShapeMap { shapemap: String, error: String, }, ErrorWritingShExJson { schema: String, error: String, }, NotImplemented { msg: String, }, UnsupportedShaclResultFormat { format: String, }, UnsupportedShaclSortMode { mode: String, }, UnsupportedShaclFormat { format: String, }, UnsupportedShapeMapFormat { format: String, }, UnsupportedShapeMapSortMode { mode: String, }, UnsupportedShExResultFormat { format: String, }, UnsupportedShExToShapeMapConversion { format: String, }, UnsupportedShExFormat { format: String, }, NoShapeMapToSerialize, NoShaclToSerialize, NoInternalFormatForRDF, SerializingSHACLInternal { error: String, }, PrefixMapError { error: String, }, WritingSHACL { shacl: String, error: String, }, SerializingSHACL { shacl: String, error: String, }, SerializingShEx { error: String, }, SerializingData { error: String, }, SerializingShacl { error: String, }, DCTAPReader { error: String, format: String, path: String, }, ReadingDCTAPPath { error: String, path: String, }, DCTAPReaderCSVReader { error: String, }, DCTAPReaderPathXLS { error: String, path: String, format: String, }, DCTAPReadXLSNoPath, DCTap2ShEx { error: String, }, SerializingServiceDescription { error: String, }, NoServiceDescriptionToSerialize, ReadingServiceDescription { error: String, }, ReadingServiceDescriptionPath { path: String, error: String, }, MissingDataAndEndpoint, BothDataAndEndpointSpecified, InvalidImageFormat { format: String, }, RDFDataReadError { source_name: String, error: String, mime_type: String, }, EndpointUseError { endpoint: String, error: String, }, QueryResultFormatParseError { format: String, error: String, }, RdfError { error: String, }, WASMError(String),
}

Variants§

§

DataFormatError

Fields

§

QualifyObject

Fields

§object: String
§error: String
§

QualifySubject

Fields

§subject: String
§error: String
§

NodeResolveError

Fields

§node: String
§error: String
§

IriRefParseError

Fields

§error: String
§

PredicateResolveError

Fields

§predicate: String
§error: String
§

LiteralNotSubject

Fields

§node: String
§

NodeNotSubject

Fields

§node: String
§

NodeNotFound

Fields

§node: String
§

IncomingArcs

Fields

§object: String
§error: String
§

OutgoingArcs

Fields

§subject: String
§error: String
§

InvalidMode

Fields

§mode: String
§expected: String
§

NodeSelectorParseError

Fields

§node_selector: String
§error: String
§

ShapeSelectorParseError

Fields

§shape_selector: String
§error: String
§

NodeInfoFormatError

Fields

§error: String
§

RudofConfigFromStrError

Fields

§error: String
§

RdfDataConfigError

Fields

§error: String
§

IOErro(Error)

§

InvalidShapeLabel

Fields

§label: String
§error: String
§

CurrentDirError

Fields

§error: String
§

ConvertingCurrentFolderUrl

Fields

§current_dir: String
§

SourceNameIriError

Fields

§source_name: String
§error: String
§

SparqlSyntaxError

Fields

§error: String
§source_name: String
§

InvalidEndpointIri

Fields

§endpoint: String
§error: String
§

InvalidEndpoint

Fields

§endpoint: String
§error: String
§

QueryEndpointError

Fields

§endpoint: String
§error: String
§query: String
§

ParsingUrlReadingServiceDescriptionUrl

Fields

§error: String
§

ReadingServiceDescriptionUrl

Fields

§error: String
§

Generic

Fields

§error: String
§

CoShaMoFromShExError

Fields

§schema: String
§error: String
§

InvalidCompareSchemaFormat

Fields

§format: String
§error: String
§

RdfConfigReadError

Fields

§error: String
§

ShaclCompilation

§

RudofConfigFromPathError

Fields

§path: String
§error: Error
§

RudofConfigTomlError

Fields

§path: String
§error: Error
§

QueryError

Fields

§error: String
§

StorageError

Fields

§error: String
§

BaseIriError

Fields

§error: String
§

ShExCParserError

Fields

§error: String
§source_name: String
§

ShExJParserError

Fields

§error: String
§source_name: String
§

CompilingSchemaError

Fields

§error: String
§

ShExValidatorUndefined

§

ShExValidatorCreationError

Fields

§schema: String
§error: String
§

ShExValidatorError

Fields

§schema: String
§rdf_data: String
§query_map: String
§error: String
§

ShExValidatorObtainingResultMapError

Fields

§schema: String
§rdf_data: String
§shapemap: String
§error: String
§

NodeSelectorError

Fields

§node_selector: String
§error: String
§

Term2Subject

Fields

§term: String
§error: String
§

MergeRDFDataFromReader

Fields

§source_name: String
§format: String
§base: String
§reader_mode: String
§error: String
§

Utf8Error

Fields

§error: String
§

ShapeMapParseError

Fields

§source_name: String
§error: String
§

ReadError

Fields

§error: String
§

ReadingSHACLError

Fields

§reader: String
§error: String
§format: String
§

ReadingSHACLFromGraphError

Fields

§error: String
§format: String
§reader_name: String
§

AddingEndpointError

Fields

§iri: IriS
§error: String
§

NoShapeMap

Fields

§schema: String
§

ResolvingImportsShExSchema

Fields

§error: String
§

NoShExSchemaForResolvingImports

§

InternalSHACLFormatNonReadable

§

SHACLParseError

Fields

§error: String
§

SHACLCompilationError

Fields

§error: String
§

SHACLValidationError

Fields

§error: String
§

SHACLEndpointValidationCreation

Fields

§error: String
§

ParsingRDFDataReader

Fields

§error: String
§

NoGraphNoFirstEndpoint

§

NoShaclSchema

§

NoShExSchemaToSerialize

§

NoDCTAP

§

ShEx2UmlWithoutShEx

§

ShEx2PlantUmlError

Fields

§error: String
§

RDF2PlantUmlError

Fields

§error: String
§

ShEx2PlantUmlErrorAsPlantUML

Fields

§error: String
§

RDF2PlantUmlErrorAsPlantUML

Fields

§error: String
§

ReadingShExPath

Fields

§path: String
§error: String
§

ReadingUrlContext

Fields

§error: String
§context: String
§

ParsingInputSpecContext

Fields

§input: String
§error: String
§context: String
§

NoCurrentSPARQLQuery

§

NotSelectQuery

Fields

§query: String
§

NotConstructQuery

Fields

§query: String
§

ReadingInputSpecContext

Fields

§input: String
§error: String
§context: String
§

ParsingUrlContext

Fields

§error: String
§context: String
§

ReadingPathContext

Fields

§path: String
§error: String
§context: String
§

ErrorFormattingSchema

Fields

§schema: String
§error: String
§

ErrorFormattingShapeMap

Fields

§shapemap: String
§error: String
§

ErrorWritingShExJson

Fields

§schema: String
§error: String
§

NotImplemented

Fields

§

UnsupportedShaclResultFormat

Fields

§format: String
§

UnsupportedShaclSortMode

Fields

§mode: String
§

UnsupportedShaclFormat

Fields

§format: String
§

UnsupportedShapeMapFormat

Fields

§format: String
§

UnsupportedShapeMapSortMode

Fields

§mode: String
§

UnsupportedShExResultFormat

Fields

§format: String
§

UnsupportedShExToShapeMapConversion

Fields

§format: String
§

UnsupportedShExFormat

Fields

§format: String
§

NoShapeMapToSerialize

§

NoShaclToSerialize

§

NoInternalFormatForRDF

§

SerializingSHACLInternal

Fields

§error: String
§

PrefixMapError

Fields

§error: String
§

WritingSHACL

Fields

§shacl: String
§error: String
§

SerializingSHACL

Fields

§shacl: String
§error: String
§

SerializingShEx

Fields

§error: String
§

SerializingData

Fields

§error: String
§

SerializingShacl

Fields

§error: String
§

DCTAPReader

Fields

§error: String
§format: String
§path: String
§

ReadingDCTAPPath

Fields

§error: String
§path: String
§

DCTAPReaderCSVReader

Fields

§error: String
§

DCTAPReaderPathXLS

Fields

§error: String
§path: String
§format: String
§

DCTAPReadXLSNoPath

§

DCTap2ShEx

Fields

§error: String
§

SerializingServiceDescription

Fields

§error: String
§

NoServiceDescriptionToSerialize

§

ReadingServiceDescription

Fields

§error: String
§

ReadingServiceDescriptionPath

Fields

§path: String
§error: String
§

MissingDataAndEndpoint

§

BothDataAndEndpointSpecified

§

InvalidImageFormat

Fields

§format: String
§

RDFDataReadError

Fields

§source_name: String
§error: String
§mime_type: String
§

EndpointUseError

Fields

§endpoint: String
§error: String
§

QueryResultFormatParseError

Fields

§format: String
§error: String
§

RdfError

Fields

§error: String
§

WASMError(String)

Trait Implementations§

Source§

impl Debug for RudofError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for RudofError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for RudofError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<Error> for RudofError

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> ToStringFallible for T
where T: Display,

Source§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,