Enum tracker::SparqlError [−][src]
#[non_exhaustive]
pub enum SparqlError {
Show 13 variants
ErrorConstraint,
ErrorInternal,
ErrorNoSpace,
ErrorOntologyNotFound,
ErrorOpenError,
ErrorParse,
ErrorQueryFailed,
ErrorType,
ErrorUnknownClass,
ErrorUnknownGraph,
ErrorUnknownProperty,
ErrorUnsupported,
NErrors,
// some variants omitted
}
Expand description
Error domain for Tracker Sparql. Errors in this domain will be from the
SparqlError
enumeration. See [glib::Error
][crate::glib::Error] for more information on error
domains.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ErrorConstraint
Subject is not in the domain of a property or trying to set multiple values for a single valued property.
ErrorInternal
Internal error.
ErrorNoSpace
There was no disk space available to perform the request.
ErrorOntologyNotFound
The specified ontology wasn’t found.
ErrorOpenError
Problem encounted while opening the database.
ErrorParse
Error parsing the SPARQL string.
ErrorQueryFailed
Problem while executing the query.
ErrorType
Type constraint failed when trying to insert data.
ErrorUnknownClass
Unknown class.
ErrorUnknownGraph
Unknown graph.
ErrorUnknownProperty
Unknown property.
ErrorUnsupported
Unsupported feature or method.
NErrors
The total number of error codes.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SparqlError
impl Send for SparqlError
impl Sync for SparqlError
impl Unpin for SparqlError
impl UnwindSafe for SparqlError
Blanket Implementations
Mutably borrows from an owned value. Read more