aws_sdk_wafv2::error

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