pub enum ThinError {
ExpectedError,
}
Expand description
A thin error type that indicates an expected failure without any reason.
In SPARQL, many operations can fail. For example, because the input value had a different data type. However, these errors are expected and are part of the query evaluation. As all of these “expected” errors are treated equally in the query evaluation, we do not need to store a reason.
Variants§
ExpectedError
Implementations§
Trait Implementations§
Source§impl Error for ThinError
impl Error for ThinError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BlankNodeIdParseError> for ThinError
impl From<BlankNodeIdParseError> for ThinError
Source§fn from(_: BlankNodeIdParseError) -> ThinError
fn from(_: BlankNodeIdParseError) -> ThinError
Converts to this type from the input type.
Source§impl From<DateTimeOverflowError> for ThinError
impl From<DateTimeOverflowError> for ThinError
Source§fn from(_: DateTimeOverflowError) -> ThinError
fn from(_: DateTimeOverflowError) -> ThinError
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for ThinError
impl From<FromUtf8Error> for ThinError
Source§fn from(_: FromUtf8Error) -> ThinError
fn from(_: FromUtf8Error) -> ThinError
Converts to this type from the input type.
Source§impl From<IriParseError> for ThinError
impl From<IriParseError> for ThinError
Source§fn from(_: IriParseError) -> ThinError
fn from(_: IriParseError) -> ThinError
Converts to this type from the input type.
Source§impl From<OppositeSignInDurationComponentsError> for ThinError
impl From<OppositeSignInDurationComponentsError> for ThinError
Source§fn from(_: OppositeSignInDurationComponentsError) -> ThinError
fn from(_: OppositeSignInDurationComponentsError) -> ThinError
Converts to this type from the input type.
Source§impl From<ParseBoolError> for ThinError
impl From<ParseBoolError> for ThinError
Source§fn from(_: ParseBoolError) -> ThinError
fn from(_: ParseBoolError) -> ThinError
Converts to this type from the input type.
Source§impl From<ParseDateTimeError> for ThinError
impl From<ParseDateTimeError> for ThinError
Source§fn from(_: ParseDateTimeError) -> ThinError
fn from(_: ParseDateTimeError) -> ThinError
Converts to this type from the input type.
Source§impl From<ParseDecimalError> for ThinError
impl From<ParseDecimalError> for ThinError
Source§fn from(_: ParseDecimalError) -> ThinError
fn from(_: ParseDecimalError) -> ThinError
Converts to this type from the input type.
Source§impl From<ParseFloatError> for ThinError
impl From<ParseFloatError> for ThinError
Source§fn from(_: ParseFloatError) -> ThinError
fn from(_: ParseFloatError) -> ThinError
Converts to this type from the input type.
Source§impl From<ParseIntError> for ThinError
impl From<ParseIntError> for ThinError
Source§fn from(_: ParseIntError) -> ThinError
fn from(_: ParseIntError) -> ThinError
Converts to this type from the input type.
Source§impl From<TooLargeForDecimalError> for ThinError
impl From<TooLargeForDecimalError> for ThinError
Source§fn from(_: TooLargeForDecimalError) -> ThinError
fn from(_: TooLargeForDecimalError) -> ThinError
Converts to this type from the input type.
Source§impl From<TooLargeForIntError> for ThinError
impl From<TooLargeForIntError> for ThinError
Source§fn from(_: TooLargeForIntError) -> ThinError
fn from(_: TooLargeForIntError) -> ThinError
Converts to this type from the input type.
Source§impl From<TooLargeForIntegerError> for ThinError
impl From<TooLargeForIntegerError> for ThinError
Source§fn from(_: TooLargeForIntegerError) -> ThinError
fn from(_: TooLargeForIntegerError) -> ThinError
Converts to this type from the input type.
Source§impl From<TryFromIntError> for ThinError
impl From<TryFromIntError> for ThinError
Source§fn from(_: TryFromIntError) -> ThinError
fn from(_: TryFromIntError) -> ThinError
Converts to this type from the input type.
impl Copy for ThinError
impl Eq for ThinError
impl StructuralPartialEq for ThinError
Auto Trait Implementations§
impl Freeze for ThinError
impl RefUnwindSafe for ThinError
impl Send for ThinError
impl Sync for ThinError
impl Unpin for ThinError
impl UnwindSafe for ThinError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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>
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 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>
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