Trait aws_sdk_acmpca::error::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 CreateCertificateAuthorityError

source§

impl ProvideErrorMetadata for CreateCertificateAuthorityAuditReportError

source§

impl ProvideErrorMetadata for CreatePermissionError

source§

impl ProvideErrorMetadata for DeleteCertificateAuthorityError

source§

impl ProvideErrorMetadata for DeletePermissionError

source§

impl ProvideErrorMetadata for DeletePolicyError

source§

impl ProvideErrorMetadata for DescribeCertificateAuthorityError

source§

impl ProvideErrorMetadata for DescribeCertificateAuthorityAuditReportError

source§

impl ProvideErrorMetadata for GetCertificateError

source§

impl ProvideErrorMetadata for GetCertificateAuthorityCertificateError

source§

impl ProvideErrorMetadata for GetCertificateAuthorityCsrError

source§

impl ProvideErrorMetadata for GetPolicyError

source§

impl ProvideErrorMetadata for ImportCertificateAuthorityCertificateError

source§

impl ProvideErrorMetadata for IssueCertificateError

source§

impl ProvideErrorMetadata for ListCertificateAuthoritiesError

source§

impl ProvideErrorMetadata for ListPermissionsError

source§

impl ProvideErrorMetadata for ListTagsError

source§

impl ProvideErrorMetadata for PutPolicyError

source§

impl ProvideErrorMetadata for RestoreCertificateAuthorityError

source§

impl ProvideErrorMetadata for RevokeCertificateError

source§

impl ProvideErrorMetadata for TagCertificateAuthorityError

source§

impl ProvideErrorMetadata for UntagCertificateAuthorityError

source§

impl ProvideErrorMetadata for UpdateCertificateAuthorityError

source§

impl ProvideErrorMetadata for CertificateMismatchException

source§

impl ProvideErrorMetadata for ConcurrentModificationException

source§

impl ProvideErrorMetadata for InvalidArgsException

source§

impl ProvideErrorMetadata for InvalidArnException

source§

impl ProvideErrorMetadata for InvalidNextTokenException

source§

impl ProvideErrorMetadata for InvalidPolicyException

source§

impl ProvideErrorMetadata for InvalidRequestException

source§

impl ProvideErrorMetadata for InvalidStateException

source§

impl ProvideErrorMetadata for InvalidTagException

source§

impl ProvideErrorMetadata for LimitExceededException

source§

impl ProvideErrorMetadata for LockoutPreventedException

source§

impl ProvideErrorMetadata for MalformedCertificateException

source§

impl ProvideErrorMetadata for MalformedCsrException

source§

impl ProvideErrorMetadata for PermissionAlreadyExistsException

source§

impl ProvideErrorMetadata for RequestAlreadyProcessedException

source§

impl ProvideErrorMetadata for RequestFailedException

source§

impl ProvideErrorMetadata for RequestInProgressException

source§

impl ProvideErrorMetadata for ResourceNotFoundException

source§

impl ProvideErrorMetadata for TooManyTagsException

source§

impl ProvideErrorMetadata for ErrorMetadata