aws_sdk_cloudwatchlogs::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 AssociateKmsKeyError

Source§

impl ProvideErrorMetadata for CancelExportTaskError

Source§

impl ProvideErrorMetadata for CreateDeliveryError

Source§

impl ProvideErrorMetadata for CreateExportTaskError

Source§

impl ProvideErrorMetadata for CreateLogAnomalyDetectorError

Source§

impl ProvideErrorMetadata for CreateLogGroupError

Source§

impl ProvideErrorMetadata for CreateLogStreamError

Source§

impl ProvideErrorMetadata for DeleteAccountPolicyError

Source§

impl ProvideErrorMetadata for DeleteDataProtectionPolicyError

Source§

impl ProvideErrorMetadata for DeleteDeliveryError

Source§

impl ProvideErrorMetadata for DeleteDeliveryDestinationError

Source§

impl ProvideErrorMetadata for DeleteDeliveryDestinationPolicyError

Source§

impl ProvideErrorMetadata for DeleteDeliverySourceError

Source§

impl ProvideErrorMetadata for DeleteDestinationError

Source§

impl ProvideErrorMetadata for DeleteIndexPolicyError

Source§

impl ProvideErrorMetadata for DeleteLogAnomalyDetectorError

Source§

impl ProvideErrorMetadata for DeleteLogGroupError

Source§

impl ProvideErrorMetadata for DeleteLogStreamError

Source§

impl ProvideErrorMetadata for DeleteMetricFilterError

Source§

impl ProvideErrorMetadata for DeleteQueryDefinitionError

Source§

impl ProvideErrorMetadata for DeleteResourcePolicyError

Source§

impl ProvideErrorMetadata for DeleteRetentionPolicyError

Source§

impl ProvideErrorMetadata for DeleteSubscriptionFilterError

Source§

impl ProvideErrorMetadata for DeleteTransformerError

Source§

impl ProvideErrorMetadata for DescribeAccountPoliciesError

Source§

impl ProvideErrorMetadata for DescribeConfigurationTemplatesError

Source§

impl ProvideErrorMetadata for DescribeDeliveriesError

Source§

impl ProvideErrorMetadata for DescribeDeliveryDestinationsError

Source§

impl ProvideErrorMetadata for DescribeDeliverySourcesError

Source§

impl ProvideErrorMetadata for DescribeDestinationsError

Source§

impl ProvideErrorMetadata for DescribeExportTasksError

Source§

impl ProvideErrorMetadata for DescribeFieldIndexesError

Source§

impl ProvideErrorMetadata for DescribeIndexPoliciesError

Source§

impl ProvideErrorMetadata for DescribeLogGroupsError

Source§

impl ProvideErrorMetadata for DescribeLogStreamsError

Source§

impl ProvideErrorMetadata for DescribeMetricFiltersError

Source§

impl ProvideErrorMetadata for DescribeQueriesError

Source§

impl ProvideErrorMetadata for DescribeQueryDefinitionsError

Source§

impl ProvideErrorMetadata for DescribeResourcePoliciesError

Source§

impl ProvideErrorMetadata for DescribeSubscriptionFiltersError

Source§

impl ProvideErrorMetadata for DisassociateKmsKeyError

Source§

impl ProvideErrorMetadata for FilterLogEventsError

Source§

impl ProvideErrorMetadata for GetDataProtectionPolicyError

Source§

impl ProvideErrorMetadata for GetDeliveryError

Source§

impl ProvideErrorMetadata for GetDeliveryDestinationError

Source§

impl ProvideErrorMetadata for GetDeliveryDestinationPolicyError

Source§

impl ProvideErrorMetadata for GetDeliverySourceError

Source§

impl ProvideErrorMetadata for GetLogAnomalyDetectorError

Source§

impl ProvideErrorMetadata for GetLogEventsError

Source§

impl ProvideErrorMetadata for GetLogGroupFieldsError

Source§

impl ProvideErrorMetadata for GetLogRecordError

Source§

impl ProvideErrorMetadata for GetQueryResultsError

Source§

impl ProvideErrorMetadata for GetTransformerError

Source§

impl ProvideErrorMetadata for ListAnomaliesError

Source§

impl ProvideErrorMetadata for ListLogAnomalyDetectorsError

Source§

impl ProvideErrorMetadata for ListLogGroupsForQueryError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListTagsLogGroupError

Source§

impl ProvideErrorMetadata for PutAccountPolicyError

Source§

impl ProvideErrorMetadata for PutDataProtectionPolicyError

Source§

impl ProvideErrorMetadata for PutDeliveryDestinationError

Source§

impl ProvideErrorMetadata for PutDeliveryDestinationPolicyError

Source§

impl ProvideErrorMetadata for PutDeliverySourceError

Source§

impl ProvideErrorMetadata for PutDestinationError

Source§

impl ProvideErrorMetadata for PutDestinationPolicyError

Source§

impl ProvideErrorMetadata for PutIndexPolicyError

Source§

impl ProvideErrorMetadata for PutLogEventsError

Source§

impl ProvideErrorMetadata for PutMetricFilterError

Source§

impl ProvideErrorMetadata for PutQueryDefinitionError

Source§

impl ProvideErrorMetadata for PutResourcePolicyError

Source§

impl ProvideErrorMetadata for PutRetentionPolicyError

Source§

impl ProvideErrorMetadata for PutSubscriptionFilterError

Source§

impl ProvideErrorMetadata for PutTransformerError

Source§

impl ProvideErrorMetadata for StartQueryError

Source§

impl ProvideErrorMetadata for StopQueryError

Source§

impl ProvideErrorMetadata for TagLogGroupError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for TestMetricFilterError

Source§

impl ProvideErrorMetadata for TestTransformerError

Source§

impl ProvideErrorMetadata for UntagLogGroupError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateAnomalyError

Source§

impl ProvideErrorMetadata for UpdateDeliveryConfigurationError

Source§

impl ProvideErrorMetadata for UpdateLogAnomalyDetectorError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for DataAlreadyAcceptedException

Source§

impl ProvideErrorMetadata for InvalidOperationException

Source§

impl ProvideErrorMetadata for InvalidParameterException

Source§

impl ProvideErrorMetadata for InvalidSequenceTokenException

Source§

impl ProvideErrorMetadata for LimitExceededException

Source§

impl ProvideErrorMetadata for MalformedQueryException

Source§

impl ProvideErrorMetadata for OperationAbortedException

Source§

impl ProvideErrorMetadata for ResourceAlreadyExistsException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for ServiceQuotaExceededException

Source§

impl ProvideErrorMetadata for ServiceUnavailableException

Source§

impl ProvideErrorMetadata for ThrottlingException

Source§

impl ProvideErrorMetadata for TooManyTagsException

Source§

impl ProvideErrorMetadata for UnrecognizedClientException

Source§

impl ProvideErrorMetadata for ValidationException

Source§

impl ProvideErrorMetadata for ErrorMetadata