pub enum Error {
Show 66 variants
Unknown,
NotImplemented,
CannotStartNewTransaction,
InvalidInput,
NoInputRecords,
Timeout,
EnvironmentVariableEmpty(String),
MandatoryEnvironmentVariableMissing(String),
MandatoryEnvironmentVariableIsNotIRI(String),
ServiceError(String),
NoEvent,
NoSubject,
NoPredicate,
DetectedUnknownStoryInputParameter {
story_key: String,
param: String,
expected_params: Vec<String>,
},
NoBaseIRISpecified,
NoIdentifierNamespaceSpecified,
IncorrectBaseIRI {
iri: String,
},
Parse,
MissingContext,
CouldNotGenerateMetadata,
CouldNotFindRootProject,
CouldNotRewriteIRI {
iri: String,
},
InvalidDockerImageId,
CouldNotLock {
msg: String,
},
MissingIdentifierBaseIRI,
CouldNotCreateClient,
CouldNotConnectToServer,
NoContextProvided,
InvalidClientIri,
PersonaDoesNotExist {
persona_key: String,
},
StoryDoesNotExist {
story_key: String,
use_case_key: String,
},
UseCaseDoesNotExist {
use_case_key: String,
},
JSONParseError(Error<Error>),
SerdeJsonError(Error),
InvalidStoryIri,
CouldNotGetStoryResults,
IOError(Error),
ParseIntError(ParseIntError),
SPARQLStatementError {
source: ParseError,
statement: String,
},
FormatError(Error),
IriErrorString(IriError<String>),
CApiError(NulError),
CouldNotOpenDatabase {
source: Box<Error>,
},
HyperError(Error),
HttpError(Error),
InvalidUri(InvalidUri),
InvalidIri(String),
InvalidBaseIri(String),
InvalidUri2(ParseError),
SerdeUrlEncodingError(Error),
UnknownDataType {
data_type_id: u8,
},
UnknownValueForDataType {
data_type_xsd_iri: String,
value: String,
},
UnknownXsdDataType {
data_type_iri: String,
},
UnknownNTriplesValue {
value: String,
},
Exception {
action: String,
message: String,
},
MultiplicityExceededMaximumNumberOfRows {
maxrow: usize,
multiplicity: usize,
query: String,
},
CannotGetAnyArgumentIndexes {
query: String,
},
ExceededMaximumNumberOfRows {
maxrow: usize,
query: String,
},
RDFoxLicenseFileNotFound,
UnknownResourceException,
CouldNotCreateRDFoxServer,
CouldNotImportRDFFile,
InvalidPrefixName,
InvalidLiteral,
IriParseError(String),
DateParseError(ParseError),
}Variants§
Unknown
NotImplemented
CannotStartNewTransaction
InvalidInput
NoInputRecords
Timeout
EnvironmentVariableEmpty(String)
MandatoryEnvironmentVariableMissing(String)
MandatoryEnvironmentVariableIsNotIRI(String)
ServiceError(String)
NoEvent
NoSubject
NoPredicate
DetectedUnknownStoryInputParameter
NoBaseIRISpecified
NoIdentifierNamespaceSpecified
IncorrectBaseIRI
Parse
MissingContext
CouldNotGenerateMetadata
CouldNotFindRootProject
CouldNotRewriteIRI
InvalidDockerImageId
CouldNotLock
MissingIdentifierBaseIRI
CouldNotCreateClient
CouldNotConnectToServer
NoContextProvided
InvalidClientIri
PersonaDoesNotExist
StoryDoesNotExist
UseCaseDoesNotExist
JSONParseError(Error<Error>)
SerdeJsonError(Error)
InvalidStoryIri
CouldNotGetStoryResults
IOError(Error)
Represents all other cases of std::io::Error.
ParseIntError(ParseIntError)
SPARQLStatementError
Encountered a syntax error in a SPARQL statement
FormatError(Error)
IriErrorString(IriError<String>)
CApiError(NulError)
CouldNotOpenDatabase
HyperError(Error)
HttpError(Error)
InvalidUri(InvalidUri)
InvalidIri(String)
InvalidBaseIri(String)
InvalidUri2(ParseError)
SerdeUrlEncodingError(Error)
UnknownDataType
UnknownValueForDataType
UnknownXsdDataType
UnknownNTriplesValue
Exception
MultiplicityExceededMaximumNumberOfRows
CannotGetAnyArgumentIndexes
ExceededMaximumNumberOfRows
RDFoxLicenseFileNotFound
UnknownResourceException
CouldNotCreateRDFoxServer
CouldNotImportRDFFile
InvalidPrefixName
InvalidLiteral
IriParseError(String)
DateParseError(ParseError)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<InvalidIri<&str>> for Error
impl From<InvalidIri<&str>> for Error
source§fn from(value: InvalidIri<&str>) -> Self
fn from(value: InvalidIri<&str>) -> Self
Converts to this type from the input type.
source§impl From<InvalidIri<String>> for Error
impl From<InvalidIri<String>> for Error
source§fn from(value: InvalidIri<String>) -> Self
fn from(value: InvalidIri<String>) -> Self
Converts to this type from the input type.
source§impl From<InvalidUri> for Error
impl From<InvalidUri> for Error
source§fn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
impl Send for Error
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more