aws_sdk_datapipeline::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 ActivatePipelineError

Source§

impl ProvideErrorMetadata for AddTagsError

Source§

impl ProvideErrorMetadata for CreatePipelineError

Source§

impl ProvideErrorMetadata for DeactivatePipelineError

Source§

impl ProvideErrorMetadata for DeletePipelineError

Source§

impl ProvideErrorMetadata for DescribeObjectsError

Source§

impl ProvideErrorMetadata for DescribePipelinesError

Source§

impl ProvideErrorMetadata for EvaluateExpressionError

Source§

impl ProvideErrorMetadata for GetPipelineDefinitionError

Source§

impl ProvideErrorMetadata for ListPipelinesError

Source§

impl ProvideErrorMetadata for PollForTaskError

Source§

impl ProvideErrorMetadata for PutPipelineDefinitionError

Source§

impl ProvideErrorMetadata for QueryObjectsError

Source§

impl ProvideErrorMetadata for RemoveTagsError

Source§

impl ProvideErrorMetadata for ReportTaskProgressError

Source§

impl ProvideErrorMetadata for ReportTaskRunnerHeartbeatError

Source§

impl ProvideErrorMetadata for SetStatusError

Source§

impl ProvideErrorMetadata for SetTaskStatusError

Source§

impl ProvideErrorMetadata for ValidatePipelineDefinitionError

Source§

impl ProvideErrorMetadata for InternalServiceError

Source§

impl ProvideErrorMetadata for InvalidRequestException

Source§

impl ProvideErrorMetadata for PipelineDeletedException

Source§

impl ProvideErrorMetadata for PipelineNotFoundException

Source§

impl ProvideErrorMetadata for TaskNotFoundException

Source§

impl ProvideErrorMetadata for ErrorMetadata