aws_sdk_connectcases::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 BatchGetFieldError

Source§

impl ProvideErrorMetadata for BatchPutFieldOptionsError

Source§

impl ProvideErrorMetadata for CreateCaseError

Source§

impl ProvideErrorMetadata for CreateDomainError

Source§

impl ProvideErrorMetadata for CreateFieldError

Source§

impl ProvideErrorMetadata for CreateLayoutError

Source§

impl ProvideErrorMetadata for CreateRelatedItemError

Source§

impl ProvideErrorMetadata for CreateTemplateError

Source§

impl ProvideErrorMetadata for DeleteDomainError

Source§

impl ProvideErrorMetadata for DeleteFieldError

Source§

impl ProvideErrorMetadata for DeleteLayoutError

Source§

impl ProvideErrorMetadata for DeleteTemplateError

Source§

impl ProvideErrorMetadata for GetCaseError

Source§

impl ProvideErrorMetadata for GetCaseAuditEventsError

Source§

impl ProvideErrorMetadata for GetCaseEventConfigurationError

Source§

impl ProvideErrorMetadata for GetDomainError

Source§

impl ProvideErrorMetadata for GetLayoutError

Source§

impl ProvideErrorMetadata for GetTemplateError

Source§

impl ProvideErrorMetadata for ListCasesForContactError

Source§

impl ProvideErrorMetadata for ListDomainsError

Source§

impl ProvideErrorMetadata for ListFieldOptionsError

Source§

impl ProvideErrorMetadata for ListFieldsError

Source§

impl ProvideErrorMetadata for ListLayoutsError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListTemplatesError

Source§

impl ProvideErrorMetadata for PutCaseEventConfigurationError

Source§

impl ProvideErrorMetadata for SearchCasesError

Source§

impl ProvideErrorMetadata for SearchRelatedItemsError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateCaseError

Source§

impl ProvideErrorMetadata for UpdateFieldError

Source§

impl ProvideErrorMetadata for UpdateLayoutError

Source§

impl ProvideErrorMetadata for UpdateTemplateError

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