aws_sdk_vpclattice::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 BatchUpdateRuleError

Source§

impl ProvideErrorMetadata for CreateAccessLogSubscriptionError

Source§

impl ProvideErrorMetadata for CreateListenerError

Source§

impl ProvideErrorMetadata for CreateRuleError

Source§

impl ProvideErrorMetadata for CreateServiceError

Source§

impl ProvideErrorMetadata for CreateServiceNetworkError

Source§

impl ProvideErrorMetadata for CreateServiceNetworkServiceAssociationError

Source§

impl ProvideErrorMetadata for CreateServiceNetworkVpcAssociationError

Source§

impl ProvideErrorMetadata for CreateTargetGroupError

Source§

impl ProvideErrorMetadata for DeleteAccessLogSubscriptionError

Source§

impl ProvideErrorMetadata for DeleteAuthPolicyError

Source§

impl ProvideErrorMetadata for DeleteListenerError

Source§

impl ProvideErrorMetadata for DeleteResourcePolicyError

Source§

impl ProvideErrorMetadata for DeleteRuleError

Source§

impl ProvideErrorMetadata for DeleteServiceError

Source§

impl ProvideErrorMetadata for DeleteServiceNetworkError

Source§

impl ProvideErrorMetadata for DeleteServiceNetworkServiceAssociationError

Source§

impl ProvideErrorMetadata for DeleteServiceNetworkVpcAssociationError

Source§

impl ProvideErrorMetadata for DeleteTargetGroupError

Source§

impl ProvideErrorMetadata for DeregisterTargetsError

Source§

impl ProvideErrorMetadata for GetAccessLogSubscriptionError

Source§

impl ProvideErrorMetadata for GetAuthPolicyError

Source§

impl ProvideErrorMetadata for GetListenerError

Source§

impl ProvideErrorMetadata for GetResourcePolicyError

Source§

impl ProvideErrorMetadata for GetRuleError

Source§

impl ProvideErrorMetadata for GetServiceError

Source§

impl ProvideErrorMetadata for GetServiceNetworkError

Source§

impl ProvideErrorMetadata for GetServiceNetworkServiceAssociationError

Source§

impl ProvideErrorMetadata for GetServiceNetworkVpcAssociationError

Source§

impl ProvideErrorMetadata for GetTargetGroupError

Source§

impl ProvideErrorMetadata for ListAccessLogSubscriptionsError

Source§

impl ProvideErrorMetadata for ListListenersError

Source§

impl ProvideErrorMetadata for ListRulesError

Source§

impl ProvideErrorMetadata for ListServiceNetworkServiceAssociationsError

Source§

impl ProvideErrorMetadata for ListServiceNetworkVpcAssociationsError

Source§

impl ProvideErrorMetadata for ListServiceNetworksError

Source§

impl ProvideErrorMetadata for ListServicesError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListTargetGroupsError

Source§

impl ProvideErrorMetadata for ListTargetsError

Source§

impl ProvideErrorMetadata for PutAuthPolicyError

Source§

impl ProvideErrorMetadata for PutResourcePolicyError

Source§

impl ProvideErrorMetadata for RegisterTargetsError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateAccessLogSubscriptionError

Source§

impl ProvideErrorMetadata for UpdateListenerError

Source§

impl ProvideErrorMetadata for UpdateRuleError

Source§

impl ProvideErrorMetadata for UpdateServiceError

Source§

impl ProvideErrorMetadata for UpdateServiceNetworkError

Source§

impl ProvideErrorMetadata for UpdateServiceNetworkVpcAssociationError

Source§

impl ProvideErrorMetadata for UpdateTargetGroupError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for InternalServerException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for ServiceQuotaExceededException

Source§

impl ProvideErrorMetadata for ThrottlingException

Source§

impl ProvideErrorMetadata for ValidationException

Source§

impl ProvideErrorMetadata for ErrorMetadata