pub enum DynamoAggregateError {
OptimisticLock,
TransactionListTooLong(usize),
MissingAttribute(String),
BuilderError(String),
UnknownError(Box<dyn Error + Send + Sync + 'static>),
}Variants§
OptimisticLock
TransactionListTooLong(usize)
MissingAttribute(String)
BuilderError(String)
UnknownError(Box<dyn Error + Send + Sync + 'static>)
Trait Implementations§
Source§impl Debug for DynamoAggregateError
impl Debug for DynamoAggregateError
Source§impl Display for DynamoAggregateError
impl Display for DynamoAggregateError
Source§impl Error for DynamoAggregateError
impl Error for DynamoAggregateError
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<T: Error> From<DynamoAggregateError> for AggregateError<T>
impl<T: Error> From<DynamoAggregateError> for AggregateError<T>
Source§fn from(error: DynamoAggregateError) -> Self
fn from(error: DynamoAggregateError) -> Self
Converts to this type from the input type.
Source§impl From<DynamoAggregateError> for PersistenceError
impl From<DynamoAggregateError> for PersistenceError
Source§fn from(error: DynamoAggregateError) -> Self
fn from(error: DynamoAggregateError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DynamoAggregateError
impl From<Error> for DynamoAggregateError
Source§impl From<SdkError<QueryError, Response>> for DynamoAggregateError
impl From<SdkError<QueryError, Response>> for DynamoAggregateError
Source§fn from(error: SdkError<QueryError>) -> Self
fn from(error: SdkError<QueryError>) -> Self
Converts to this type from the input type.
Source§impl From<SdkError<TransactWriteItemsError, Response>> for DynamoAggregateError
impl From<SdkError<TransactWriteItemsError, Response>> for DynamoAggregateError
Source§fn from(error: SdkError<TransactWriteItemsError>) -> Self
fn from(error: SdkError<TransactWriteItemsError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DynamoAggregateError
impl !UnwindSafe for DynamoAggregateError
impl Freeze for DynamoAggregateError
impl Send for DynamoAggregateError
impl Sync for DynamoAggregateError
impl Unpin for DynamoAggregateError
impl UnsafeUnpin for DynamoAggregateError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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 moreCreates a shared type from an unshared type.