Trait aws_sdk_wafv2::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 AssociateWebACLError

source§

impl ProvideErrorMetadata for CheckCapacityError

source§

impl ProvideErrorMetadata for CreateAPIKeyError

source§

impl ProvideErrorMetadata for CreateIPSetError

source§

impl ProvideErrorMetadata for CreateRegexPatternSetError

source§

impl ProvideErrorMetadata for CreateRuleGroupError

source§

impl ProvideErrorMetadata for CreateWebACLError

source§

impl ProvideErrorMetadata for DeleteAPIKeyError

source§

impl ProvideErrorMetadata for DeleteFirewallManagerRuleGroupsError

source§

impl ProvideErrorMetadata for DeleteIPSetError

source§

impl ProvideErrorMetadata for DeleteLoggingConfigurationError

source§

impl ProvideErrorMetadata for DeletePermissionPolicyError

source§

impl ProvideErrorMetadata for DeleteRegexPatternSetError

source§

impl ProvideErrorMetadata for DeleteRuleGroupError

source§

impl ProvideErrorMetadata for DeleteWebACLError

source§

impl ProvideErrorMetadata for DescribeAllManagedProductsError

source§

impl ProvideErrorMetadata for DescribeManagedProductsByVendorError

source§

impl ProvideErrorMetadata for DescribeManagedRuleGroupError

source§

impl ProvideErrorMetadata for DisassociateWebACLError

source§

impl ProvideErrorMetadata for GenerateMobileSdkReleaseUrlError

source§

impl ProvideErrorMetadata for GetDecryptedAPIKeyError

source§

impl ProvideErrorMetadata for GetIPSetError

source§

impl ProvideErrorMetadata for GetLoggingConfigurationError

source§

impl ProvideErrorMetadata for GetManagedRuleSetError

source§

impl ProvideErrorMetadata for GetMobileSdkReleaseError

source§

impl ProvideErrorMetadata for GetPermissionPolicyError

source§

impl ProvideErrorMetadata for GetRateBasedStatementManagedKeysError

source§

impl ProvideErrorMetadata for GetRegexPatternSetError

source§

impl ProvideErrorMetadata for GetRuleGroupError

source§

impl ProvideErrorMetadata for GetSampledRequestsError

source§

impl ProvideErrorMetadata for GetWebACLError

source§

impl ProvideErrorMetadata for GetWebACLForResourceError

source§

impl ProvideErrorMetadata for ListAPIKeysError

source§

impl ProvideErrorMetadata for ListAvailableManagedRuleGroupVersionsError

source§

impl ProvideErrorMetadata for ListAvailableManagedRuleGroupsError

source§

impl ProvideErrorMetadata for ListIPSetsError

source§

impl ProvideErrorMetadata for ListLoggingConfigurationsError

source§

impl ProvideErrorMetadata for ListManagedRuleSetsError

source§

impl ProvideErrorMetadata for ListMobileSdkReleasesError

source§

impl ProvideErrorMetadata for ListRegexPatternSetsError

source§

impl ProvideErrorMetadata for ListResourcesForWebACLError

source§

impl ProvideErrorMetadata for ListRuleGroupsError

source§

impl ProvideErrorMetadata for ListTagsForResourceError

source§

impl ProvideErrorMetadata for ListWebACLsError

source§

impl ProvideErrorMetadata for PutLoggingConfigurationError

source§

impl ProvideErrorMetadata for PutManagedRuleSetVersionsError

source§

impl ProvideErrorMetadata for PutPermissionPolicyError

source§

impl ProvideErrorMetadata for TagResourceError

source§

impl ProvideErrorMetadata for UntagResourceError

source§

impl ProvideErrorMetadata for UpdateIPSetError

source§

impl ProvideErrorMetadata for UpdateManagedRuleSetVersionExpiryDateError

source§

impl ProvideErrorMetadata for UpdateRegexPatternSetError

source§

impl ProvideErrorMetadata for UpdateRuleGroupError

source§

impl ProvideErrorMetadata for UpdateWebACLError

source§

impl ProvideErrorMetadata for WafAssociatedItemException

source§

impl ProvideErrorMetadata for WafConfigurationWarningException

source§

impl ProvideErrorMetadata for WafDuplicateItemException

source§

impl ProvideErrorMetadata for WafExpiredManagedRuleGroupVersionException

source§

impl ProvideErrorMetadata for WafInternalErrorException

source§

impl ProvideErrorMetadata for WafInvalidOperationException

source§

impl ProvideErrorMetadata for WafInvalidParameterException

source§

impl ProvideErrorMetadata for WafInvalidPermissionPolicyException

source§

impl ProvideErrorMetadata for WafInvalidResourceException

source§

impl ProvideErrorMetadata for WafLimitsExceededException

source§

impl ProvideErrorMetadata for WafLogDestinationPermissionIssueException

source§

impl ProvideErrorMetadata for WafNonexistentItemException

source§

impl ProvideErrorMetadata for WafOptimisticLockException

source§

impl ProvideErrorMetadata for WafServiceLinkedRoleErrorException

source§

impl ProvideErrorMetadata for WafSubscriptionNotFoundException

source§

impl ProvideErrorMetadata for WafTagOperationException

source§

impl ProvideErrorMetadata for WafTagOperationInternalErrorException

source§

impl ProvideErrorMetadata for WafUnavailableEntityException

source§

impl ProvideErrorMetadata for WafUnsupportedAggregateKeyTypeException

source§

impl ProvideErrorMetadata for ErrorMetadata