Struct aws_sdk_dynamodb::error::TransactWriteItemsError [−][src]
#[non_exhaustive]pub struct TransactWriteItemsError {
pub kind: TransactWriteItemsErrorKind,
// some fields omitted
}
Expand description
Error type for the TransactWriteItems
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: TransactWriteItemsErrorKind
Kind of error that occurred.
Implementations
Creates a new TransactWriteItemsError
.
Creates the TransactWriteItemsError::Unhandled
variant from any error type.
Creates the TransactWriteItemsError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true if the error kind is TransactWriteItemsErrorKind::IdempotentParameterMismatchException
.
Returns true if the error kind is TransactWriteItemsErrorKind::InternalServerError
.
Returns true if the error kind is TransactWriteItemsErrorKind::InvalidEndpointException
.
Returns true if the error kind is TransactWriteItemsErrorKind::ProvisionedThroughputExceededException
.
Returns true if the error kind is TransactWriteItemsErrorKind::RequestLimitExceeded
.
Returns true if the error kind is TransactWriteItemsErrorKind::ResourceNotFoundException
.
Returns true if the error kind is TransactWriteItemsErrorKind::TransactionCanceledException
.
Returns true if the error kind is TransactWriteItemsErrorKind::TransactionInProgressException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TransactWriteItemsError
impl Send for TransactWriteItemsError
impl Sync for TransactWriteItemsError
impl Unpin for TransactWriteItemsError
impl !UnwindSafe for TransactWriteItemsError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more