aws_sdk_wafregional::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 CreateByteMatchSetError

Source§

impl ProvideErrorMetadata for CreateGeoMatchSetError

Source§

impl ProvideErrorMetadata for CreateIPSetError

Source§

impl ProvideErrorMetadata for CreateRateBasedRuleError

Source§

impl ProvideErrorMetadata for CreateRegexMatchSetError

Source§

impl ProvideErrorMetadata for CreateRegexPatternSetError

Source§

impl ProvideErrorMetadata for CreateRuleError

Source§

impl ProvideErrorMetadata for CreateRuleGroupError

Source§

impl ProvideErrorMetadata for CreateSizeConstraintSetError

Source§

impl ProvideErrorMetadata for CreateSqlInjectionMatchSetError

Source§

impl ProvideErrorMetadata for CreateWebACLError

Source§

impl ProvideErrorMetadata for CreateWebACLMigrationStackError

Source§

impl ProvideErrorMetadata for CreateXssMatchSetError

Source§

impl ProvideErrorMetadata for DeleteByteMatchSetError

Source§

impl ProvideErrorMetadata for DeleteGeoMatchSetError

Source§

impl ProvideErrorMetadata for DeleteIPSetError

Source§

impl ProvideErrorMetadata for DeleteLoggingConfigurationError

Source§

impl ProvideErrorMetadata for DeletePermissionPolicyError

Source§

impl ProvideErrorMetadata for DeleteRateBasedRuleError

Source§

impl ProvideErrorMetadata for DeleteRegexMatchSetError

Source§

impl ProvideErrorMetadata for DeleteRegexPatternSetError

Source§

impl ProvideErrorMetadata for DeleteRuleError

Source§

impl ProvideErrorMetadata for DeleteRuleGroupError

Source§

impl ProvideErrorMetadata for DeleteSizeConstraintSetError

Source§

impl ProvideErrorMetadata for DeleteSqlInjectionMatchSetError

Source§

impl ProvideErrorMetadata for DeleteWebACLError

Source§

impl ProvideErrorMetadata for DeleteXssMatchSetError

Source§

impl ProvideErrorMetadata for DisassociateWebACLError

Source§

impl ProvideErrorMetadata for GetByteMatchSetError

Source§

impl ProvideErrorMetadata for GetChangeTokenError

Source§

impl ProvideErrorMetadata for GetChangeTokenStatusError

Source§

impl ProvideErrorMetadata for GetGeoMatchSetError

Source§

impl ProvideErrorMetadata for GetIPSetError

Source§

impl ProvideErrorMetadata for GetLoggingConfigurationError

Source§

impl ProvideErrorMetadata for GetPermissionPolicyError

Source§

impl ProvideErrorMetadata for GetRateBasedRuleError

Source§

impl ProvideErrorMetadata for GetRateBasedRuleManagedKeysError

Source§

impl ProvideErrorMetadata for GetRegexMatchSetError

Source§

impl ProvideErrorMetadata for GetRegexPatternSetError

Source§

impl ProvideErrorMetadata for GetRuleError

Source§

impl ProvideErrorMetadata for GetRuleGroupError

Source§

impl ProvideErrorMetadata for GetSampledRequestsError

Source§

impl ProvideErrorMetadata for GetSizeConstraintSetError

Source§

impl ProvideErrorMetadata for GetSqlInjectionMatchSetError

Source§

impl ProvideErrorMetadata for GetWebACLError

Source§

impl ProvideErrorMetadata for GetWebACLForResourceError

Source§

impl ProvideErrorMetadata for GetXssMatchSetError

Source§

impl ProvideErrorMetadata for ListActivatedRulesInRuleGroupError

Source§

impl ProvideErrorMetadata for ListByteMatchSetsError

Source§

impl ProvideErrorMetadata for ListGeoMatchSetsError

Source§

impl ProvideErrorMetadata for ListIPSetsError

Source§

impl ProvideErrorMetadata for ListLoggingConfigurationsError

Source§

impl ProvideErrorMetadata for ListRateBasedRulesError

Source§

impl ProvideErrorMetadata for ListRegexMatchSetsError

Source§

impl ProvideErrorMetadata for ListRegexPatternSetsError

Source§

impl ProvideErrorMetadata for ListResourcesForWebACLError

Source§

impl ProvideErrorMetadata for ListRuleGroupsError

Source§

impl ProvideErrorMetadata for ListRulesError

Source§

impl ProvideErrorMetadata for ListSizeConstraintSetsError

Source§

impl ProvideErrorMetadata for ListSqlInjectionMatchSetsError

Source§

impl ProvideErrorMetadata for ListSubscribedRuleGroupsError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListWebACLsError

Source§

impl ProvideErrorMetadata for ListXssMatchSetsError

Source§

impl ProvideErrorMetadata for PutLoggingConfigurationError

Source§

impl ProvideErrorMetadata for PutPermissionPolicyError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateByteMatchSetError

Source§

impl ProvideErrorMetadata for UpdateGeoMatchSetError

Source§

impl ProvideErrorMetadata for UpdateIPSetError

Source§

impl ProvideErrorMetadata for UpdateRateBasedRuleError

Source§

impl ProvideErrorMetadata for UpdateRegexMatchSetError

Source§

impl ProvideErrorMetadata for UpdateRegexPatternSetError

Source§

impl ProvideErrorMetadata for UpdateRuleError

Source§

impl ProvideErrorMetadata for UpdateRuleGroupError

Source§

impl ProvideErrorMetadata for UpdateSizeConstraintSetError

Source§

impl ProvideErrorMetadata for UpdateSqlInjectionMatchSetError

Source§

impl ProvideErrorMetadata for UpdateWebACLError

Source§

impl ProvideErrorMetadata for UpdateXssMatchSetError

Source§

impl ProvideErrorMetadata for WafBadRequestException

Source§

impl ProvideErrorMetadata for WafDisallowedNameException

Source§

impl ProvideErrorMetadata for WafEntityMigrationException

Source§

impl ProvideErrorMetadata for WafInternalErrorException

Source§

impl ProvideErrorMetadata for WafInvalidAccountException

Source§

impl ProvideErrorMetadata for WafInvalidOperationException

Source§

impl ProvideErrorMetadata for WafInvalidParameterException

Source§

impl ProvideErrorMetadata for WafInvalidPermissionPolicyException

Source§

impl ProvideErrorMetadata for WafInvalidRegexPatternException

Source§

impl ProvideErrorMetadata for WafLimitsExceededException

Source§

impl ProvideErrorMetadata for WafNonEmptyEntityException

Source§

impl ProvideErrorMetadata for WafNonexistentContainerException

Source§

impl ProvideErrorMetadata for WafNonexistentItemException

Source§

impl ProvideErrorMetadata for WafReferencedItemException

Source§

impl ProvideErrorMetadata for WafServiceLinkedRoleErrorException

Source§

impl ProvideErrorMetadata for WafStaleDataException

Source§

impl ProvideErrorMetadata for WafSubscriptionNotFoundException

Source§

impl ProvideErrorMetadata for WafTagOperationException

Source§

impl ProvideErrorMetadata for WafTagOperationInternalErrorException

Source§

impl ProvideErrorMetadata for WafUnavailableEntityException

Source§

impl ProvideErrorMetadata for ErrorMetadata