Trait aws_sdk_dynamodb::error::ProvideErrorMetadata

source ·
pub trait ProvideErrorMetadata {
    // Required method
    fn meta(&self) -> &ErrorMetadata;

    // Provided methods
    fn code(&self) -> Option<&str> { ... }
    fn message(&self) -> Option<&str> { ... }
}
Expand description

Trait to retrieve error metadata from a result

Required Methods§

source

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.

Provided Methods§

source

fn code(&self) -> Option<&str>

Returns the error code if it’s available.

source

fn message(&self) -> Option<&str>

Returns the error message, if there is one.

Implementations on Foreign Types§

source§

impl<E, R> ProvideErrorMetadata for SdkError<E, R>

source§

impl<O, E> ProvideErrorMetadata for WaiterError<O, E>

Implementors§

source§

impl ProvideErrorMetadata for Error

source§

impl ProvideErrorMetadata for BatchExecuteStatementError

source§

impl ProvideErrorMetadata for BatchGetItemError

source§

impl ProvideErrorMetadata for BatchWriteItemError

source§

impl ProvideErrorMetadata for CreateBackupError

source§

impl ProvideErrorMetadata for CreateGlobalTableError

source§

impl ProvideErrorMetadata for CreateTableError

source§

impl ProvideErrorMetadata for DeleteBackupError

source§

impl ProvideErrorMetadata for DeleteItemError

source§

impl ProvideErrorMetadata for DeleteResourcePolicyError

source§

impl ProvideErrorMetadata for DeleteTableError

source§

impl ProvideErrorMetadata for DescribeBackupError

source§

impl ProvideErrorMetadata for DescribeContinuousBackupsError

source§

impl ProvideErrorMetadata for DescribeContributorInsightsError

source§

impl ProvideErrorMetadata for DescribeEndpointsError

source§

impl ProvideErrorMetadata for DescribeExportError

source§

impl ProvideErrorMetadata for DescribeGlobalTableError

source§

impl ProvideErrorMetadata for DescribeGlobalTableSettingsError

source§

impl ProvideErrorMetadata for DescribeImportError

source§

impl ProvideErrorMetadata for DescribeKinesisStreamingDestinationError

source§

impl ProvideErrorMetadata for DescribeLimitsError

source§

impl ProvideErrorMetadata for DescribeTableError

source§

impl ProvideErrorMetadata for DescribeTableReplicaAutoScalingError

source§

impl ProvideErrorMetadata for DescribeTimeToLiveError

source§

impl ProvideErrorMetadata for DisableKinesisStreamingDestinationError

source§

impl ProvideErrorMetadata for EnableKinesisStreamingDestinationError

source§

impl ProvideErrorMetadata for ExecuteStatementError

source§

impl ProvideErrorMetadata for ExecuteTransactionError

source§

impl ProvideErrorMetadata for ExportTableToPointInTimeError

source§

impl ProvideErrorMetadata for GetItemError

source§

impl ProvideErrorMetadata for GetResourcePolicyError

source§

impl ProvideErrorMetadata for ImportTableError

source§

impl ProvideErrorMetadata for ListBackupsError

source§

impl ProvideErrorMetadata for ListContributorInsightsError

source§

impl ProvideErrorMetadata for ListExportsError

source§

impl ProvideErrorMetadata for ListGlobalTablesError

source§

impl ProvideErrorMetadata for ListImportsError

source§

impl ProvideErrorMetadata for ListTablesError

source§

impl ProvideErrorMetadata for ListTagsOfResourceError

source§

impl ProvideErrorMetadata for PutItemError

source§

impl ProvideErrorMetadata for PutResourcePolicyError

source§

impl ProvideErrorMetadata for QueryError

source§

impl ProvideErrorMetadata for RestoreTableFromBackupError

source§

impl ProvideErrorMetadata for RestoreTableToPointInTimeError

source§

impl ProvideErrorMetadata for ScanError

source§

impl ProvideErrorMetadata for TagResourceError

source§

impl ProvideErrorMetadata for TransactGetItemsError

source§

impl ProvideErrorMetadata for TransactWriteItemsError

source§

impl ProvideErrorMetadata for UntagResourceError

source§

impl ProvideErrorMetadata for UpdateContinuousBackupsError

source§

impl ProvideErrorMetadata for UpdateContributorInsightsError

source§

impl ProvideErrorMetadata for UpdateGlobalTableError

source§

impl ProvideErrorMetadata for UpdateGlobalTableSettingsError

source§

impl ProvideErrorMetadata for UpdateItemError

source§

impl ProvideErrorMetadata for UpdateKinesisStreamingDestinationError

source§

impl ProvideErrorMetadata for UpdateTableError

source§

impl ProvideErrorMetadata for UpdateTableReplicaAutoScalingError

source§

impl ProvideErrorMetadata for UpdateTimeToLiveError

source§

impl ProvideErrorMetadata for BackupInUseException

source§

impl ProvideErrorMetadata for BackupNotFoundException

source§

impl ProvideErrorMetadata for ConditionalCheckFailedException

source§

impl ProvideErrorMetadata for ContinuousBackupsUnavailableException

source§

impl ProvideErrorMetadata for DuplicateItemException

source§

impl ProvideErrorMetadata for ExportConflictException

source§

impl ProvideErrorMetadata for ExportNotFoundException

source§

impl ProvideErrorMetadata for GlobalTableAlreadyExistsException

source§

impl ProvideErrorMetadata for GlobalTableNotFoundException

source§

impl ProvideErrorMetadata for IdempotentParameterMismatchException

source§

impl ProvideErrorMetadata for ImportConflictException

source§

impl ProvideErrorMetadata for ImportNotFoundException

source§

impl ProvideErrorMetadata for IndexNotFoundException

source§

impl ProvideErrorMetadata for InternalServerError

source§

impl ProvideErrorMetadata for InvalidEndpointException

source§

impl ProvideErrorMetadata for InvalidExportTimeException

source§

impl ProvideErrorMetadata for InvalidRestoreTimeException

source§

impl ProvideErrorMetadata for ItemCollectionSizeLimitExceededException

source§

impl ProvideErrorMetadata for LimitExceededException

source§

impl ProvideErrorMetadata for PointInTimeRecoveryUnavailableException

source§

impl ProvideErrorMetadata for PolicyNotFoundException

source§

impl ProvideErrorMetadata for ProvisionedThroughputExceededException

source§

impl ProvideErrorMetadata for ReplicaAlreadyExistsException

source§

impl ProvideErrorMetadata for ReplicaNotFoundException

source§

impl ProvideErrorMetadata for RequestLimitExceeded

source§

impl ProvideErrorMetadata for ResourceInUseException

source§

impl ProvideErrorMetadata for ResourceNotFoundException

source§

impl ProvideErrorMetadata for TableAlreadyExistsException

source§

impl ProvideErrorMetadata for TableInUseException

source§

impl ProvideErrorMetadata for TableNotFoundException

source§

impl ProvideErrorMetadata for TransactionCanceledException

source§

impl ProvideErrorMetadata for TransactionConflictException

source§

impl ProvideErrorMetadata for TransactionInProgressException

source§

impl ProvideErrorMetadata for ErrorMetadata