Trait aws_sdk_s3::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>

Implementors§

source§

impl ProvideErrorMetadata for Error

source§

impl ProvideErrorMetadata for AbortMultipartUploadError

source§

impl ProvideErrorMetadata for CompleteMultipartUploadError

source§

impl ProvideErrorMetadata for CopyObjectError

source§

impl ProvideErrorMetadata for CreateBucketError

source§

impl ProvideErrorMetadata for CreateMultipartUploadError

source§

impl ProvideErrorMetadata for CreateSessionError

source§

impl ProvideErrorMetadata for DeleteBucketError

source§

impl ProvideErrorMetadata for DeleteBucketAnalyticsConfigurationError

source§

impl ProvideErrorMetadata for DeleteBucketCorsError

source§

impl ProvideErrorMetadata for DeleteBucketEncryptionError

source§

impl ProvideErrorMetadata for DeleteBucketIntelligentTieringConfigurationError

source§

impl ProvideErrorMetadata for DeleteBucketInventoryConfigurationError

source§

impl ProvideErrorMetadata for DeleteBucketLifecycleError

source§

impl ProvideErrorMetadata for DeleteBucketMetricsConfigurationError

source§

impl ProvideErrorMetadata for DeleteBucketOwnershipControlsError

source§

impl ProvideErrorMetadata for DeleteBucketPolicyError

source§

impl ProvideErrorMetadata for DeleteBucketReplicationError

source§

impl ProvideErrorMetadata for DeleteBucketTaggingError

source§

impl ProvideErrorMetadata for DeleteBucketWebsiteError

source§

impl ProvideErrorMetadata for DeleteObjectError

source§

impl ProvideErrorMetadata for DeleteObjectTaggingError

source§

impl ProvideErrorMetadata for DeleteObjectsError

source§

impl ProvideErrorMetadata for DeletePublicAccessBlockError

source§

impl ProvideErrorMetadata for GetBucketAccelerateConfigurationError

source§

impl ProvideErrorMetadata for GetBucketAclError

source§

impl ProvideErrorMetadata for GetBucketAnalyticsConfigurationError

source§

impl ProvideErrorMetadata for GetBucketCorsError

source§

impl ProvideErrorMetadata for GetBucketEncryptionError

source§

impl ProvideErrorMetadata for GetBucketIntelligentTieringConfigurationError

source§

impl ProvideErrorMetadata for GetBucketInventoryConfigurationError

source§

impl ProvideErrorMetadata for GetBucketLifecycleConfigurationError

source§

impl ProvideErrorMetadata for GetBucketLocationError

source§

impl ProvideErrorMetadata for GetBucketLoggingError

source§

impl ProvideErrorMetadata for GetBucketMetricsConfigurationError

source§

impl ProvideErrorMetadata for GetBucketNotificationConfigurationError

source§

impl ProvideErrorMetadata for GetBucketOwnershipControlsError

source§

impl ProvideErrorMetadata for GetBucketPolicyError

source§

impl ProvideErrorMetadata for GetBucketPolicyStatusError

source§

impl ProvideErrorMetadata for GetBucketReplicationError

source§

impl ProvideErrorMetadata for GetBucketRequestPaymentError

source§

impl ProvideErrorMetadata for GetBucketTaggingError

source§

impl ProvideErrorMetadata for GetBucketVersioningError

source§

impl ProvideErrorMetadata for GetBucketWebsiteError

source§

impl ProvideErrorMetadata for GetObjectError

source§

impl ProvideErrorMetadata for GetObjectAclError

source§

impl ProvideErrorMetadata for GetObjectAttributesError

source§

impl ProvideErrorMetadata for GetObjectLegalHoldError

source§

impl ProvideErrorMetadata for GetObjectLockConfigurationError

source§

impl ProvideErrorMetadata for GetObjectRetentionError

source§

impl ProvideErrorMetadata for GetObjectTaggingError

source§

impl ProvideErrorMetadata for GetObjectTorrentError

source§

impl ProvideErrorMetadata for GetPublicAccessBlockError

source§

impl ProvideErrorMetadata for HeadBucketError

source§

impl ProvideErrorMetadata for HeadObjectError

source§

impl ProvideErrorMetadata for ListBucketAnalyticsConfigurationsError

source§

impl ProvideErrorMetadata for ListBucketIntelligentTieringConfigurationsError

source§

impl ProvideErrorMetadata for ListBucketInventoryConfigurationsError

source§

impl ProvideErrorMetadata for ListBucketMetricsConfigurationsError

source§

impl ProvideErrorMetadata for ListBucketsError

source§

impl ProvideErrorMetadata for ListDirectoryBucketsError

source§

impl ProvideErrorMetadata for ListMultipartUploadsError

source§

impl ProvideErrorMetadata for ListObjectVersionsError

source§

impl ProvideErrorMetadata for ListObjectsError

source§

impl ProvideErrorMetadata for ListObjectsV2Error

source§

impl ProvideErrorMetadata for ListPartsError

source§

impl ProvideErrorMetadata for PutBucketAccelerateConfigurationError

source§

impl ProvideErrorMetadata for PutBucketAclError

source§

impl ProvideErrorMetadata for PutBucketAnalyticsConfigurationError

source§

impl ProvideErrorMetadata for PutBucketCorsError

source§

impl ProvideErrorMetadata for PutBucketEncryptionError

source§

impl ProvideErrorMetadata for PutBucketIntelligentTieringConfigurationError

source§

impl ProvideErrorMetadata for PutBucketInventoryConfigurationError

source§

impl ProvideErrorMetadata for PutBucketLifecycleConfigurationError

source§

impl ProvideErrorMetadata for PutBucketLoggingError

source§

impl ProvideErrorMetadata for PutBucketMetricsConfigurationError

source§

impl ProvideErrorMetadata for PutBucketNotificationConfigurationError

source§

impl ProvideErrorMetadata for PutBucketOwnershipControlsError

source§

impl ProvideErrorMetadata for PutBucketPolicyError

source§

impl ProvideErrorMetadata for PutBucketReplicationError

source§

impl ProvideErrorMetadata for PutBucketRequestPaymentError

source§

impl ProvideErrorMetadata for PutBucketTaggingError

source§

impl ProvideErrorMetadata for PutBucketVersioningError

source§

impl ProvideErrorMetadata for PutBucketWebsiteError

source§

impl ProvideErrorMetadata for PutObjectError

source§

impl ProvideErrorMetadata for PutObjectAclError

source§

impl ProvideErrorMetadata for PutObjectLegalHoldError

source§

impl ProvideErrorMetadata for PutObjectLockConfigurationError

source§

impl ProvideErrorMetadata for PutObjectRetentionError

source§

impl ProvideErrorMetadata for PutObjectTaggingError

source§

impl ProvideErrorMetadata for PutPublicAccessBlockError

source§

impl ProvideErrorMetadata for RestoreObjectError

source§

impl ProvideErrorMetadata for SelectObjectContentError

source§

impl ProvideErrorMetadata for UploadPartError

source§

impl ProvideErrorMetadata for UploadPartCopyError

source§

impl ProvideErrorMetadata for WriteGetObjectResponseError

source§

impl ProvideErrorMetadata for SelectObjectContentEventStreamError

source§

impl ProvideErrorMetadata for BucketAlreadyExists

source§

impl ProvideErrorMetadata for BucketAlreadyOwnedByYou

source§

impl ProvideErrorMetadata for InvalidObjectState

source§

impl ProvideErrorMetadata for NoSuchBucket

source§

impl ProvideErrorMetadata for NoSuchKey

source§

impl ProvideErrorMetadata for NoSuchUpload

source§

impl ProvideErrorMetadata for NotFound

source§

impl ProvideErrorMetadata for ObjectAlreadyInActiveTierError

source§

impl ProvideErrorMetadata for ObjectNotInActiveTierError

source§

impl ProvideErrorMetadata for ErrorMetadata