aws_sdk_databrew::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 BatchDeleteRecipeVersionError

Source§

impl ProvideErrorMetadata for CreateDatasetError

Source§

impl ProvideErrorMetadata for CreateProfileJobError

Source§

impl ProvideErrorMetadata for CreateProjectError

Source§

impl ProvideErrorMetadata for CreateRecipeError

Source§

impl ProvideErrorMetadata for CreateRecipeJobError

Source§

impl ProvideErrorMetadata for CreateRulesetError

Source§

impl ProvideErrorMetadata for CreateScheduleError

Source§

impl ProvideErrorMetadata for DeleteDatasetError

Source§

impl ProvideErrorMetadata for DeleteJobError

Source§

impl ProvideErrorMetadata for DeleteProjectError

Source§

impl ProvideErrorMetadata for DeleteRecipeVersionError

Source§

impl ProvideErrorMetadata for DeleteRulesetError

Source§

impl ProvideErrorMetadata for DeleteScheduleError

Source§

impl ProvideErrorMetadata for DescribeDatasetError

Source§

impl ProvideErrorMetadata for DescribeJobError

Source§

impl ProvideErrorMetadata for DescribeJobRunError

Source§

impl ProvideErrorMetadata for DescribeProjectError

Source§

impl ProvideErrorMetadata for DescribeRecipeError

Source§

impl ProvideErrorMetadata for DescribeRulesetError

Source§

impl ProvideErrorMetadata for DescribeScheduleError

Source§

impl ProvideErrorMetadata for ListDatasetsError

Source§

impl ProvideErrorMetadata for ListJobRunsError

Source§

impl ProvideErrorMetadata for ListJobsError

Source§

impl ProvideErrorMetadata for ListProjectsError

Source§

impl ProvideErrorMetadata for ListRecipeVersionsError

Source§

impl ProvideErrorMetadata for ListRecipesError

Source§

impl ProvideErrorMetadata for ListRulesetsError

Source§

impl ProvideErrorMetadata for ListSchedulesError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for PublishRecipeError

Source§

impl ProvideErrorMetadata for SendProjectSessionActionError

Source§

impl ProvideErrorMetadata for StartJobRunError

Source§

impl ProvideErrorMetadata for StartProjectSessionError

Source§

impl ProvideErrorMetadata for StopJobRunError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateDatasetError

Source§

impl ProvideErrorMetadata for UpdateProfileJobError

Source§

impl ProvideErrorMetadata for UpdateProjectError

Source§

impl ProvideErrorMetadata for UpdateRecipeError

Source§

impl ProvideErrorMetadata for UpdateRecipeJobError

Source§

impl ProvideErrorMetadata for UpdateRulesetError

Source§

impl ProvideErrorMetadata for UpdateScheduleError

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 ValidationException

Source§

impl ProvideErrorMetadata for ErrorMetadata