aws_sdk_voiceid::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 AssociateFraudsterError

Source§

impl ProvideErrorMetadata for CreateDomainError

Source§

impl ProvideErrorMetadata for CreateWatchlistError

Source§

impl ProvideErrorMetadata for DeleteDomainError

Source§

impl ProvideErrorMetadata for DeleteFraudsterError

Source§

impl ProvideErrorMetadata for DeleteSpeakerError

Source§

impl ProvideErrorMetadata for DeleteWatchlistError

Source§

impl ProvideErrorMetadata for DescribeDomainError

Source§

impl ProvideErrorMetadata for DescribeFraudsterError

Source§

impl ProvideErrorMetadata for DescribeFraudsterRegistrationJobError

Source§

impl ProvideErrorMetadata for DescribeSpeakerError

Source§

impl ProvideErrorMetadata for DescribeSpeakerEnrollmentJobError

Source§

impl ProvideErrorMetadata for DescribeWatchlistError

Source§

impl ProvideErrorMetadata for DisassociateFraudsterError

Source§

impl ProvideErrorMetadata for EvaluateSessionError

Source§

impl ProvideErrorMetadata for ListDomainsError

Source§

impl ProvideErrorMetadata for ListFraudsterRegistrationJobsError

Source§

impl ProvideErrorMetadata for ListFraudstersError

Source§

impl ProvideErrorMetadata for ListSpeakerEnrollmentJobsError

Source§

impl ProvideErrorMetadata for ListSpeakersError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListWatchlistsError

Source§

impl ProvideErrorMetadata for OptOutSpeakerError

Source§

impl ProvideErrorMetadata for StartFraudsterRegistrationJobError

Source§

impl ProvideErrorMetadata for StartSpeakerEnrollmentJobError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateDomainError

Source§

impl ProvideErrorMetadata for UpdateWatchlistError

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