ProvideErrorMetadata

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 AddTagsError

Source§

impl ProvideErrorMetadata for CancelQueryError

Source§

impl ProvideErrorMetadata for CreateChannelError

Source§

impl ProvideErrorMetadata for CreateDashboardError

Source§

impl ProvideErrorMetadata for CreateEventDataStoreError

Source§

impl ProvideErrorMetadata for CreateTrailError

Source§

impl ProvideErrorMetadata for DeleteChannelError

Source§

impl ProvideErrorMetadata for DeleteDashboardError

Source§

impl ProvideErrorMetadata for DeleteEventDataStoreError

Source§

impl ProvideErrorMetadata for DeleteResourcePolicyError

Source§

impl ProvideErrorMetadata for DeleteTrailError

Source§

impl ProvideErrorMetadata for DeregisterOrganizationDelegatedAdminError

Source§

impl ProvideErrorMetadata for DescribeQueryError

Source§

impl ProvideErrorMetadata for DescribeTrailsError

Source§

impl ProvideErrorMetadata for DisableFederationError

Source§

impl ProvideErrorMetadata for EnableFederationError

Source§

impl ProvideErrorMetadata for GenerateQueryError

Source§

impl ProvideErrorMetadata for GetChannelError

Source§

impl ProvideErrorMetadata for GetDashboardError

Source§

impl ProvideErrorMetadata for GetEventConfigurationError

Source§

impl ProvideErrorMetadata for GetEventDataStoreError

Source§

impl ProvideErrorMetadata for GetEventSelectorsError

Source§

impl ProvideErrorMetadata for GetImportError

Source§

impl ProvideErrorMetadata for GetInsightSelectorsError

Source§

impl ProvideErrorMetadata for GetQueryResultsError

Source§

impl ProvideErrorMetadata for GetResourcePolicyError

Source§

impl ProvideErrorMetadata for GetTrailError

Source§

impl ProvideErrorMetadata for GetTrailStatusError

Source§

impl ProvideErrorMetadata for ListChannelsError

Source§

impl ProvideErrorMetadata for ListDashboardsError

Source§

impl ProvideErrorMetadata for ListEventDataStoresError

Source§

impl ProvideErrorMetadata for ListImportFailuresError

Source§

impl ProvideErrorMetadata for ListImportsError

Source§

impl ProvideErrorMetadata for ListInsightsMetricDataError

Source§

impl ProvideErrorMetadata for ListPublicKeysError

Source§

impl ProvideErrorMetadata for ListQueriesError

Source§

impl ProvideErrorMetadata for ListTagsError

Source§

impl ProvideErrorMetadata for ListTrailsError

Source§

impl ProvideErrorMetadata for LookupEventsError

Source§

impl ProvideErrorMetadata for PutEventConfigurationError

Source§

impl ProvideErrorMetadata for PutEventSelectorsError

Source§

impl ProvideErrorMetadata for PutInsightSelectorsError

Source§

impl ProvideErrorMetadata for PutResourcePolicyError

Source§

impl ProvideErrorMetadata for RegisterOrganizationDelegatedAdminError

Source§

impl ProvideErrorMetadata for RemoveTagsError

Source§

impl ProvideErrorMetadata for RestoreEventDataStoreError

Source§

impl ProvideErrorMetadata for SearchSampleQueriesError

Source§

impl ProvideErrorMetadata for StartDashboardRefreshError

Source§

impl ProvideErrorMetadata for StartEventDataStoreIngestionError

Source§

impl ProvideErrorMetadata for StartImportError

Source§

impl ProvideErrorMetadata for StartLoggingError

Source§

impl ProvideErrorMetadata for StartQueryError

Source§

impl ProvideErrorMetadata for StopEventDataStoreIngestionError

Source§

impl ProvideErrorMetadata for StopImportError

Source§

impl ProvideErrorMetadata for StopLoggingError

Source§

impl ProvideErrorMetadata for UpdateChannelError

Source§

impl ProvideErrorMetadata for UpdateDashboardError

Source§

impl ProvideErrorMetadata for UpdateEventDataStoreError

Source§

impl ProvideErrorMetadata for UpdateTrailError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for AccountHasOngoingImportException

Source§

impl ProvideErrorMetadata for AccountNotFoundException

Source§

impl ProvideErrorMetadata for AccountNotRegisteredException

Source§

impl ProvideErrorMetadata for AccountRegisteredException

Source§

impl ProvideErrorMetadata for CannotDelegateManagementAccountException

Source§

impl ProvideErrorMetadata for ChannelAlreadyExistsException

Source§

impl ProvideErrorMetadata for ChannelArnInvalidException

Source§

impl ProvideErrorMetadata for ChannelExistsForEdsException

Source§

impl ProvideErrorMetadata for ChannelMaxLimitExceededException

Source§

impl ProvideErrorMetadata for ChannelNotFoundException

Source§

impl ProvideErrorMetadata for CloudTrailAccessNotEnabledException

Source§

impl ProvideErrorMetadata for CloudTrailArnInvalidException

Source§

impl ProvideErrorMetadata for CloudTrailInvalidClientTokenIdException

Source§

impl ProvideErrorMetadata for CloudWatchLogsDeliveryUnavailableException

Source§

impl ProvideErrorMetadata for ConcurrentModificationException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for DelegatedAdminAccountLimitExceededException

Source§

impl ProvideErrorMetadata for EventDataStoreAlreadyExistsException

Source§

impl ProvideErrorMetadata for EventDataStoreArnInvalidException

Source§

impl ProvideErrorMetadata for EventDataStoreFederationEnabledException

Source§

impl ProvideErrorMetadata for EventDataStoreHasOngoingImportException

Source§

impl ProvideErrorMetadata for EventDataStoreMaxLimitExceededException

Source§

impl ProvideErrorMetadata for EventDataStoreNotFoundException

Source§

impl ProvideErrorMetadata for EventDataStoreTerminationProtectedException

Source§

impl ProvideErrorMetadata for GenerateResponseException

Source§

impl ProvideErrorMetadata for ImportNotFoundException

Source§

impl ProvideErrorMetadata for InactiveEventDataStoreException

Source§

impl ProvideErrorMetadata for InactiveQueryException

Source§

impl ProvideErrorMetadata for InsightNotEnabledException

Source§

impl ProvideErrorMetadata for InsufficientDependencyServiceAccessPermissionException

Source§

impl ProvideErrorMetadata for InsufficientEncryptionPolicyException

Source§

impl ProvideErrorMetadata for InsufficientIamAccessPermissionException

Source§

impl ProvideErrorMetadata for InsufficientS3BucketPolicyException

Source§

impl ProvideErrorMetadata for InsufficientSnsTopicPolicyException

Source§

impl ProvideErrorMetadata for InvalidCloudWatchLogsLogGroupArnException

Source§

impl ProvideErrorMetadata for InvalidCloudWatchLogsRoleArnException

Source§

impl ProvideErrorMetadata for InvalidDateRangeException

Source§

impl ProvideErrorMetadata for InvalidEventCategoryException

Source§

impl ProvideErrorMetadata for InvalidEventDataStoreCategoryException

Source§

impl ProvideErrorMetadata for InvalidEventDataStoreStatusException

Source§

impl ProvideErrorMetadata for InvalidEventSelectorsException

Source§

impl ProvideErrorMetadata for InvalidHomeRegionException

Source§

impl ProvideErrorMetadata for InvalidImportSourceException

Source§

impl ProvideErrorMetadata for InvalidInsightSelectorsException

Source§

impl ProvideErrorMetadata for InvalidKmsKeyIdException

Source§

impl ProvideErrorMetadata for InvalidLookupAttributesException

Source§

impl ProvideErrorMetadata for InvalidMaxResultsException

Source§

impl ProvideErrorMetadata for InvalidNextTokenException

Source§

impl ProvideErrorMetadata for InvalidParameterCombinationException

Source§

impl ProvideErrorMetadata for InvalidParameterException

Source§

impl ProvideErrorMetadata for InvalidQueryStatementException

Source§

impl ProvideErrorMetadata for InvalidQueryStatusException

Source§

impl ProvideErrorMetadata for InvalidS3BucketNameException

Source§

impl ProvideErrorMetadata for InvalidS3PrefixException

Source§

impl ProvideErrorMetadata for InvalidSnsTopicNameException

Source§

impl ProvideErrorMetadata for InvalidSourceException

Source§

impl ProvideErrorMetadata for InvalidTagParameterException

Source§

impl ProvideErrorMetadata for InvalidTimeRangeException

Source§

impl ProvideErrorMetadata for InvalidTokenException

Source§

impl ProvideErrorMetadata for InvalidTrailNameException

Source§

impl ProvideErrorMetadata for KmsException

Source§

impl ProvideErrorMetadata for KmsKeyDisabledException

Source§

impl ProvideErrorMetadata for KmsKeyNotFoundException

Source§

impl ProvideErrorMetadata for MaxConcurrentQueriesException

Source§

impl ProvideErrorMetadata for MaximumNumberOfTrailsExceededException

Source§

impl ProvideErrorMetadata for NoManagementAccountSlrExistsException

Source§

impl ProvideErrorMetadata for NotOrganizationManagementAccountException

Source§

impl ProvideErrorMetadata for NotOrganizationMasterAccountException

Source§

impl ProvideErrorMetadata for OperationNotPermittedException

Source§

impl ProvideErrorMetadata for OrganizationNotInAllFeaturesModeException

Source§

impl ProvideErrorMetadata for OrganizationsNotInUseException

Source§

impl ProvideErrorMetadata for QueryIdNotFoundException

Source§

impl ProvideErrorMetadata for ResourceArnNotValidException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for ResourcePolicyNotFoundException

Source§

impl ProvideErrorMetadata for ResourcePolicyNotValidException

Source§

impl ProvideErrorMetadata for ResourceTypeNotSupportedException

Source§

impl ProvideErrorMetadata for S3BucketDoesNotExistException

Source§

impl ProvideErrorMetadata for ServiceQuotaExceededException

Source§

impl ProvideErrorMetadata for TagsLimitExceededException

Source§

impl ProvideErrorMetadata for ThrottlingException

Source§

impl ProvideErrorMetadata for TrailAlreadyExistsException

Source§

impl ProvideErrorMetadata for TrailNotFoundException

Source§

impl ProvideErrorMetadata for TrailNotProvidedException

Source§

impl ProvideErrorMetadata for UnsupportedOperationException

Source§

impl ProvideErrorMetadata for ErrorMetadata