Trait aws_sdk_honeycode::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 BatchCreateTableRowsError

source§

impl ProvideErrorMetadata for BatchDeleteTableRowsError

source§

impl ProvideErrorMetadata for BatchUpdateTableRowsError

source§

impl ProvideErrorMetadata for BatchUpsertTableRowsError

source§

impl ProvideErrorMetadata for DescribeTableDataImportJobError

source§

impl ProvideErrorMetadata for GetScreenDataError

source§

impl ProvideErrorMetadata for InvokeScreenAutomationError

source§

impl ProvideErrorMetadata for ListTableColumnsError

source§

impl ProvideErrorMetadata for ListTableRowsError

source§

impl ProvideErrorMetadata for ListTablesError

source§

impl ProvideErrorMetadata for ListTagsForResourceError

source§

impl ProvideErrorMetadata for QueryTableRowsError

source§

impl ProvideErrorMetadata for StartTableDataImportJobError

source§

impl ProvideErrorMetadata for TagResourceError

source§

impl ProvideErrorMetadata for UntagResourceError

source§

impl ProvideErrorMetadata for AccessDeniedException

source§

impl ProvideErrorMetadata for AutomationExecutionException

source§

impl ProvideErrorMetadata for AutomationExecutionTimeoutException

source§

impl ProvideErrorMetadata for InternalServerException

source§

impl ProvideErrorMetadata for RequestTimeoutException

source§

impl ProvideErrorMetadata for ResourceNotFoundException

source§

impl ProvideErrorMetadata for ServiceQuotaExceededException

source§

impl ProvideErrorMetadata for ServiceUnavailableException

source§

impl ProvideErrorMetadata for ThrottlingException

source§

impl ProvideErrorMetadata for ValidationException

source§

impl ProvideErrorMetadata for ErrorMetadata