aws_sdk_dataexchange::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 AcceptDataGrantError

Source§

impl ProvideErrorMetadata for CancelJobError

Source§

impl ProvideErrorMetadata for CreateDataGrantError

Source§

impl ProvideErrorMetadata for CreateDataSetError

Source§

impl ProvideErrorMetadata for CreateEventActionError

Source§

impl ProvideErrorMetadata for CreateJobError

Source§

impl ProvideErrorMetadata for CreateRevisionError

Source§

impl ProvideErrorMetadata for DeleteAssetError

Source§

impl ProvideErrorMetadata for DeleteDataGrantError

Source§

impl ProvideErrorMetadata for DeleteDataSetError

Source§

impl ProvideErrorMetadata for DeleteEventActionError

Source§

impl ProvideErrorMetadata for DeleteRevisionError

Source§

impl ProvideErrorMetadata for GetAssetError

Source§

impl ProvideErrorMetadata for GetDataGrantError

Source§

impl ProvideErrorMetadata for GetDataSetError

Source§

impl ProvideErrorMetadata for GetEventActionError

Source§

impl ProvideErrorMetadata for GetJobError

Source§

impl ProvideErrorMetadata for GetReceivedDataGrantError

Source§

impl ProvideErrorMetadata for GetRevisionError

Source§

impl ProvideErrorMetadata for ListDataGrantsError

Source§

impl ProvideErrorMetadata for ListDataSetRevisionsError

Source§

impl ProvideErrorMetadata for ListDataSetsError

Source§

impl ProvideErrorMetadata for ListEventActionsError

Source§

impl ProvideErrorMetadata for ListJobsError

Source§

impl ProvideErrorMetadata for ListReceivedDataGrantsError

Source§

impl ProvideErrorMetadata for ListRevisionAssetsError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for RevokeRevisionError

Source§

impl ProvideErrorMetadata for SendApiAssetError

Source§

impl ProvideErrorMetadata for SendDataSetNotificationError

Source§

impl ProvideErrorMetadata for StartJobError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateAssetError

Source§

impl ProvideErrorMetadata for UpdateDataSetError

Source§

impl ProvideErrorMetadata for UpdateEventActionError

Source§

impl ProvideErrorMetadata for UpdateRevisionError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for InternalServerException

Source§

impl ProvideErrorMetadata for ResourceNotFoundException

Source§

impl ProvideErrorMetadata for ServiceLimitExceededException

Source§

impl ProvideErrorMetadata for ThrottlingException

Source§

impl ProvideErrorMetadata for ValidationException

Source§

impl ProvideErrorMetadata for ErrorMetadata