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 CloneReceiptRuleSetError

Source§

impl ProvideErrorMetadata for CreateConfigurationSetError

Source§

impl ProvideErrorMetadata for CreateConfigurationSetEventDestinationError

Source§

impl ProvideErrorMetadata for CreateConfigurationSetTrackingOptionsError

Source§

impl ProvideErrorMetadata for CreateCustomVerificationEmailTemplateError

Source§

impl ProvideErrorMetadata for CreateReceiptFilterError

Source§

impl ProvideErrorMetadata for CreateReceiptRuleError

Source§

impl ProvideErrorMetadata for CreateReceiptRuleSetError

Source§

impl ProvideErrorMetadata for CreateTemplateError

Source§

impl ProvideErrorMetadata for DeleteConfigurationSetError

Source§

impl ProvideErrorMetadata for DeleteConfigurationSetEventDestinationError

Source§

impl ProvideErrorMetadata for DeleteConfigurationSetTrackingOptionsError

Source§

impl ProvideErrorMetadata for DeleteCustomVerificationEmailTemplateError

Source§

impl ProvideErrorMetadata for DeleteIdentityError

Source§

impl ProvideErrorMetadata for DeleteIdentityPolicyError

Source§

impl ProvideErrorMetadata for DeleteReceiptFilterError

Source§

impl ProvideErrorMetadata for DeleteReceiptRuleError

Source§

impl ProvideErrorMetadata for DeleteReceiptRuleSetError

Source§

impl ProvideErrorMetadata for DeleteTemplateError

Source§

impl ProvideErrorMetadata for DeleteVerifiedEmailAddressError

Source§

impl ProvideErrorMetadata for DescribeActiveReceiptRuleSetError

Source§

impl ProvideErrorMetadata for DescribeConfigurationSetError

Source§

impl ProvideErrorMetadata for DescribeReceiptRuleError

Source§

impl ProvideErrorMetadata for DescribeReceiptRuleSetError

Source§

impl ProvideErrorMetadata for GetAccountSendingEnabledError

Source§

impl ProvideErrorMetadata for GetCustomVerificationEmailTemplateError

Source§

impl ProvideErrorMetadata for GetIdentityDkimAttributesError

Source§

impl ProvideErrorMetadata for GetIdentityMailFromDomainAttributesError

Source§

impl ProvideErrorMetadata for GetIdentityNotificationAttributesError

Source§

impl ProvideErrorMetadata for GetIdentityPoliciesError

Source§

impl ProvideErrorMetadata for GetIdentityVerificationAttributesError

Source§

impl ProvideErrorMetadata for GetSendQuotaError

Source§

impl ProvideErrorMetadata for GetSendStatisticsError

Source§

impl ProvideErrorMetadata for GetTemplateError

Source§

impl ProvideErrorMetadata for ListConfigurationSetsError

Source§

impl ProvideErrorMetadata for ListCustomVerificationEmailTemplatesError

Source§

impl ProvideErrorMetadata for ListIdentitiesError

Source§

impl ProvideErrorMetadata for ListIdentityPoliciesError

Source§

impl ProvideErrorMetadata for ListReceiptFiltersError

Source§

impl ProvideErrorMetadata for ListReceiptRuleSetsError

Source§

impl ProvideErrorMetadata for ListTemplatesError

Source§

impl ProvideErrorMetadata for ListVerifiedEmailAddressesError

Source§

impl ProvideErrorMetadata for PutConfigurationSetDeliveryOptionsError

Source§

impl ProvideErrorMetadata for PutIdentityPolicyError

Source§

impl ProvideErrorMetadata for ReorderReceiptRuleSetError

Source§

impl ProvideErrorMetadata for SendBounceError

Source§

impl ProvideErrorMetadata for SendBulkTemplatedEmailError

Source§

impl ProvideErrorMetadata for SendCustomVerificationEmailError

Source§

impl ProvideErrorMetadata for SendEmailError

Source§

impl ProvideErrorMetadata for SendRawEmailError

Source§

impl ProvideErrorMetadata for SendTemplatedEmailError

Source§

impl ProvideErrorMetadata for SetActiveReceiptRuleSetError

Source§

impl ProvideErrorMetadata for SetIdentityDkimEnabledError

Source§

impl ProvideErrorMetadata for SetIdentityFeedbackForwardingEnabledError

Source§

impl ProvideErrorMetadata for SetIdentityHeadersInNotificationsEnabledError

Source§

impl ProvideErrorMetadata for SetIdentityMailFromDomainError

Source§

impl ProvideErrorMetadata for SetIdentityNotificationTopicError

Source§

impl ProvideErrorMetadata for SetReceiptRulePositionError

Source§

impl ProvideErrorMetadata for TestRenderTemplateError

Source§

impl ProvideErrorMetadata for UpdateAccountSendingEnabledError

Source§

impl ProvideErrorMetadata for UpdateConfigurationSetEventDestinationError

Source§

impl ProvideErrorMetadata for UpdateConfigurationSetReputationMetricsEnabledError

Source§

impl ProvideErrorMetadata for UpdateConfigurationSetSendingEnabledError

Source§

impl ProvideErrorMetadata for UpdateConfigurationSetTrackingOptionsError

Source§

impl ProvideErrorMetadata for UpdateCustomVerificationEmailTemplateError

Source§

impl ProvideErrorMetadata for UpdateReceiptRuleError

Source§

impl ProvideErrorMetadata for UpdateTemplateError

Source§

impl ProvideErrorMetadata for VerifyDomainDkimError

Source§

impl ProvideErrorMetadata for VerifyDomainIdentityError

Source§

impl ProvideErrorMetadata for VerifyEmailAddressError

Source§

impl ProvideErrorMetadata for VerifyEmailIdentityError

Source§

impl ProvideErrorMetadata for AccountSendingPausedException

Source§

impl ProvideErrorMetadata for AlreadyExistsException

Source§

impl ProvideErrorMetadata for CannotDeleteException

Source§

impl ProvideErrorMetadata for ConfigurationSetAlreadyExistsException

Source§

impl ProvideErrorMetadata for ConfigurationSetDoesNotExistException

Source§

impl ProvideErrorMetadata for ConfigurationSetSendingPausedException

Source§

impl ProvideErrorMetadata for CustomVerificationEmailInvalidContentException

Source§

impl ProvideErrorMetadata for CustomVerificationEmailTemplateAlreadyExistsException

Source§

impl ProvideErrorMetadata for CustomVerificationEmailTemplateDoesNotExistException

Source§

impl ProvideErrorMetadata for EventDestinationAlreadyExistsException

Source§

impl ProvideErrorMetadata for EventDestinationDoesNotExistException

Source§

impl ProvideErrorMetadata for FromEmailAddressNotVerifiedException

Source§

impl ProvideErrorMetadata for InvalidCloudWatchDestinationException

Source§

impl ProvideErrorMetadata for InvalidConfigurationSetException

Source§

impl ProvideErrorMetadata for InvalidDeliveryOptionsException

Source§

impl ProvideErrorMetadata for InvalidFirehoseDestinationException

Source§

impl ProvideErrorMetadata for InvalidLambdaFunctionException

Source§

impl ProvideErrorMetadata for InvalidPolicyException

Source§

impl ProvideErrorMetadata for InvalidRenderingParameterException

Source§

impl ProvideErrorMetadata for InvalidS3ConfigurationException

Source§

impl ProvideErrorMetadata for InvalidSnsDestinationException

Source§

impl ProvideErrorMetadata for InvalidSnsTopicException

Source§

impl ProvideErrorMetadata for InvalidTemplateException

Source§

impl ProvideErrorMetadata for InvalidTrackingOptionsException

Source§

impl ProvideErrorMetadata for LimitExceededException

Source§

impl ProvideErrorMetadata for MailFromDomainNotVerifiedException

Source§

impl ProvideErrorMetadata for MessageRejected

Source§

impl ProvideErrorMetadata for MissingRenderingAttributeException

Source§

impl ProvideErrorMetadata for ProductionAccessNotGrantedException

Source§

impl ProvideErrorMetadata for RuleDoesNotExistException

Source§

impl ProvideErrorMetadata for RuleSetDoesNotExistException

Source§

impl ProvideErrorMetadata for TemplateDoesNotExistException

Source§

impl ProvideErrorMetadata for TrackingOptionsAlreadyExistsException

Source§

impl ProvideErrorMetadata for TrackingOptionsDoesNotExistException

Source§

impl ProvideErrorMetadata for ErrorMetadata