#[repr(u8)]pub enum QispError {
UnknownAsset = 0,
StaleAsset = 1,
UnsupportedCrsOrProfile = 2,
InvalidGeometry = 3,
ProfileMismatch = 4,
BudgetExceeded = 5,
ExactnessUnavailable = 6,
AuthorizationDenied = 7,
CancelledOrExpired = 8,
NonDeterministicDisallowed = 9,
}Expand description
Stable QISP error codes (plan §4.3). SPARQL expression errors stay expression
errors — they MUST NOT silently become false. Each variant has a stable
kebab-case code() for machine-readable diagnostics and Problem-Details type
IRIs.
Variants§
UnknownAsset = 0
The asset reference does not resolve to a known/valid record.
StaleAsset = 1
The asset reference is syntactically known but its generation is stale.
UnsupportedCrsOrProfile = 2
Unsupported CRS or profile conversion.
InvalidGeometry = 3
Invalid or non-manifold geometry.
ProfileMismatch = 4
Dimension/profile mismatch (e.g. wrong Tensor10D arity/profile).
BudgetExceeded = 5
Output or workspace byte/work budget exceeded.
The requested exactness profile is unavailable for this operation.
AuthorizationDenied = 7
Authorization denied.
CancelledOrExpired = 8
The computation was cancelled or its lease expired.
NonDeterministicDisallowed = 9
A non-deterministic backend was requested where it is disallowed.
Implementations§
Trait Implementations§
Source§impl Error for QispError
impl Error for QispError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
impl Copy for QispError
impl Eq for QispError
impl StructuralPartialEq for QispError
Auto Trait Implementations§
impl Freeze for QispError
impl RefUnwindSafe for QispError
impl Send for QispError
impl Sync for QispError
impl Unpin for QispError
impl UnsafeUnpin for QispError
impl UnwindSafe for QispError
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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