aws_sdk_connectcampaignsv2::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 CreateCampaignError

Source§

impl ProvideErrorMetadata for DeleteCampaignError

Source§

impl ProvideErrorMetadata for DeleteCampaignChannelSubtypeConfigError

Source§

impl ProvideErrorMetadata for DeleteCampaignCommunicationLimitsError

Source§

impl ProvideErrorMetadata for DeleteCampaignCommunicationTimeError

Source§

impl ProvideErrorMetadata for DeleteConnectInstanceConfigError

Source§

impl ProvideErrorMetadata for DeleteConnectInstanceIntegrationError

Source§

impl ProvideErrorMetadata for DeleteInstanceOnboardingJobError

Source§

impl ProvideErrorMetadata for DescribeCampaignError

Source§

impl ProvideErrorMetadata for GetCampaignStateError

Source§

impl ProvideErrorMetadata for GetCampaignStateBatchError

Source§

impl ProvideErrorMetadata for GetConnectInstanceConfigError

Source§

impl ProvideErrorMetadata for GetInstanceOnboardingJobStatusError

Source§

impl ProvideErrorMetadata for ListCampaignsError

Source§

impl ProvideErrorMetadata for ListConnectInstanceIntegrationsError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for PauseCampaignError

Source§

impl ProvideErrorMetadata for PutConnectInstanceIntegrationError

Source§

impl ProvideErrorMetadata for PutOutboundRequestBatchError

Source§

impl ProvideErrorMetadata for PutProfileOutboundRequestBatchError

Source§

impl ProvideErrorMetadata for ResumeCampaignError

Source§

impl ProvideErrorMetadata for StartCampaignError

Source§

impl ProvideErrorMetadata for StartInstanceOnboardingJobError

Source§

impl ProvideErrorMetadata for StopCampaignError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateCampaignChannelSubtypeConfigError

Source§

impl ProvideErrorMetadata for UpdateCampaignCommunicationLimitsError

Source§

impl ProvideErrorMetadata for UpdateCampaignCommunicationTimeError

Source§

impl ProvideErrorMetadata for UpdateCampaignFlowAssociationError

Source§

impl ProvideErrorMetadata for UpdateCampaignNameError

Source§

impl ProvideErrorMetadata for UpdateCampaignScheduleError

Source§

impl ProvideErrorMetadata for UpdateCampaignSourceError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for InternalServerException

Source§

impl ProvideErrorMetadata for InvalidCampaignStateException

Source§

impl ProvideErrorMetadata for InvalidStateException

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