ProvideErrorMetadata

Trait 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 CreateConfigurationSetError

Source§

impl ProvideErrorMetadata for CreateConfigurationSetEventDestinationError

Source§

impl ProvideErrorMetadata for CreateDedicatedIpPoolError

Source§

impl ProvideErrorMetadata for CreateDeliverabilityTestReportError

Source§

impl ProvideErrorMetadata for CreateEmailIdentityError

Source§

impl ProvideErrorMetadata for DeleteConfigurationSetError

Source§

impl ProvideErrorMetadata for DeleteConfigurationSetEventDestinationError

Source§

impl ProvideErrorMetadata for DeleteDedicatedIpPoolError

Source§

impl ProvideErrorMetadata for DeleteEmailIdentityError

Source§

impl ProvideErrorMetadata for GetAccountError

Source§

impl ProvideErrorMetadata for GetBlacklistReportsError

Source§

impl ProvideErrorMetadata for GetConfigurationSetError

Source§

impl ProvideErrorMetadata for GetConfigurationSetEventDestinationsError

Source§

impl ProvideErrorMetadata for GetDedicatedIpError

Source§

impl ProvideErrorMetadata for GetDedicatedIpsError

Source§

impl ProvideErrorMetadata for GetDeliverabilityDashboardOptionsError

Source§

impl ProvideErrorMetadata for GetDeliverabilityTestReportError

Source§

impl ProvideErrorMetadata for GetDomainDeliverabilityCampaignError

Source§

impl ProvideErrorMetadata for GetDomainStatisticsReportError

Source§

impl ProvideErrorMetadata for GetEmailIdentityError

Source§

impl ProvideErrorMetadata for ListConfigurationSetsError

Source§

impl ProvideErrorMetadata for ListDedicatedIpPoolsError

Source§

impl ProvideErrorMetadata for ListDeliverabilityTestReportsError

Source§

impl ProvideErrorMetadata for ListDomainDeliverabilityCampaignsError

Source§

impl ProvideErrorMetadata for ListEmailIdentitiesError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for PutAccountDedicatedIpWarmupAttributesError

Source§

impl ProvideErrorMetadata for PutAccountSendingAttributesError

Source§

impl ProvideErrorMetadata for PutConfigurationSetDeliveryOptionsError

Source§

impl ProvideErrorMetadata for PutConfigurationSetReputationOptionsError

Source§

impl ProvideErrorMetadata for PutConfigurationSetSendingOptionsError

Source§

impl ProvideErrorMetadata for PutConfigurationSetTrackingOptionsError

Source§

impl ProvideErrorMetadata for PutDedicatedIpInPoolError

Source§

impl ProvideErrorMetadata for PutDedicatedIpWarmupAttributesError

Source§

impl ProvideErrorMetadata for PutDeliverabilityDashboardOptionError

Source§

impl ProvideErrorMetadata for PutEmailIdentityDkimAttributesError

Source§

impl ProvideErrorMetadata for PutEmailIdentityFeedbackAttributesError

Source§

impl ProvideErrorMetadata for PutEmailIdentityMailFromAttributesError

Source§

impl ProvideErrorMetadata for SendEmailError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateConfigurationSetEventDestinationError

Source§

impl ProvideErrorMetadata for AccountSuspendedException

Source§

impl ProvideErrorMetadata for AlreadyExistsException

Source§

impl ProvideErrorMetadata for BadRequestException

Source§

impl ProvideErrorMetadata for ConcurrentModificationException

Source§

impl ProvideErrorMetadata for LimitExceededException

Source§

impl ProvideErrorMetadata for MailFromDomainNotVerifiedException

Source§

impl ProvideErrorMetadata for MessageRejected

Source§

impl ProvideErrorMetadata for NotFoundException

Source§

impl ProvideErrorMetadata for SendingPausedException

Source§

impl ProvideErrorMetadata for TooManyRequestsException

Source§

impl ProvideErrorMetadata for ErrorMetadata