aws_sdk_deadline::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 AssociateMemberToFarmError

Source§

impl ProvideErrorMetadata for AssociateMemberToFleetError

Source§

impl ProvideErrorMetadata for AssociateMemberToJobError

Source§

impl ProvideErrorMetadata for AssociateMemberToQueueError

Source§

impl ProvideErrorMetadata for AssumeFleetRoleForReadError

Source§

impl ProvideErrorMetadata for AssumeFleetRoleForWorkerError

Source§

impl ProvideErrorMetadata for AssumeQueueRoleForReadError

Source§

impl ProvideErrorMetadata for AssumeQueueRoleForUserError

Source§

impl ProvideErrorMetadata for AssumeQueueRoleForWorkerError

Source§

impl ProvideErrorMetadata for BatchGetJobEntityError

Source§

impl ProvideErrorMetadata for CopyJobTemplateError

Source§

impl ProvideErrorMetadata for CreateBudgetError

Source§

impl ProvideErrorMetadata for CreateFarmError

Source§

impl ProvideErrorMetadata for CreateFleetError

Source§

impl ProvideErrorMetadata for CreateJobError

Source§

impl ProvideErrorMetadata for CreateLicenseEndpointError

Source§

impl ProvideErrorMetadata for CreateMonitorError

Source§

impl ProvideErrorMetadata for CreateQueueError

Source§

impl ProvideErrorMetadata for CreateQueueEnvironmentError

Source§

impl ProvideErrorMetadata for CreateQueueFleetAssociationError

Source§

impl ProvideErrorMetadata for CreateStorageProfileError

Source§

impl ProvideErrorMetadata for CreateWorkerError

Source§

impl ProvideErrorMetadata for DeleteBudgetError

Source§

impl ProvideErrorMetadata for DeleteFarmError

Source§

impl ProvideErrorMetadata for DeleteFleetError

Source§

impl ProvideErrorMetadata for DeleteLicenseEndpointError

Source§

impl ProvideErrorMetadata for DeleteMeteredProductError

Source§

impl ProvideErrorMetadata for DeleteMonitorError

Source§

impl ProvideErrorMetadata for DeleteQueueError

Source§

impl ProvideErrorMetadata for DeleteQueueEnvironmentError

Source§

impl ProvideErrorMetadata for DeleteQueueFleetAssociationError

Source§

impl ProvideErrorMetadata for DeleteStorageProfileError

Source§

impl ProvideErrorMetadata for DeleteWorkerError

Source§

impl ProvideErrorMetadata for DisassociateMemberFromFarmError

Source§

impl ProvideErrorMetadata for DisassociateMemberFromFleetError

Source§

impl ProvideErrorMetadata for DisassociateMemberFromJobError

Source§

impl ProvideErrorMetadata for DisassociateMemberFromQueueError

Source§

impl ProvideErrorMetadata for GetBudgetError

Source§

impl ProvideErrorMetadata for GetFarmError

Source§

impl ProvideErrorMetadata for GetFleetError

Source§

impl ProvideErrorMetadata for GetJobError

Source§

impl ProvideErrorMetadata for GetLicenseEndpointError

Source§

impl ProvideErrorMetadata for GetMonitorError

Source§

impl ProvideErrorMetadata for GetQueueError

Source§

impl ProvideErrorMetadata for GetQueueEnvironmentError

Source§

impl ProvideErrorMetadata for GetQueueFleetAssociationError

Source§

impl ProvideErrorMetadata for GetSessionError

Source§

impl ProvideErrorMetadata for GetSessionActionError

Source§

impl ProvideErrorMetadata for GetSessionsStatisticsAggregationError

Source§

impl ProvideErrorMetadata for GetStepError

Source§

impl ProvideErrorMetadata for GetStorageProfileError

Source§

impl ProvideErrorMetadata for GetStorageProfileForQueueError

Source§

impl ProvideErrorMetadata for GetTaskError

Source§

impl ProvideErrorMetadata for GetWorkerError

Source§

impl ProvideErrorMetadata for ListAvailableMeteredProductsError

Source§

impl ProvideErrorMetadata for ListBudgetsError

Source§

impl ProvideErrorMetadata for ListFarmMembersError

Source§

impl ProvideErrorMetadata for ListFarmsError

Source§

impl ProvideErrorMetadata for ListFleetMembersError

Source§

impl ProvideErrorMetadata for ListFleetsError

Source§

impl ProvideErrorMetadata for ListJobMembersError

Source§

impl ProvideErrorMetadata for ListJobParameterDefinitionsError

Source§

impl ProvideErrorMetadata for ListJobsError

Source§

impl ProvideErrorMetadata for ListLicenseEndpointsError

Source§

impl ProvideErrorMetadata for ListMeteredProductsError

Source§

impl ProvideErrorMetadata for ListMonitorsError

Source§

impl ProvideErrorMetadata for ListQueueEnvironmentsError

Source§

impl ProvideErrorMetadata for ListQueueFleetAssociationsError

Source§

impl ProvideErrorMetadata for ListQueueMembersError

Source§

impl ProvideErrorMetadata for ListQueuesError

Source§

impl ProvideErrorMetadata for ListSessionActionsError

Source§

impl ProvideErrorMetadata for ListSessionsError

Source§

impl ProvideErrorMetadata for ListSessionsForWorkerError

Source§

impl ProvideErrorMetadata for ListStepConsumersError

Source§

impl ProvideErrorMetadata for ListStepDependenciesError

Source§

impl ProvideErrorMetadata for ListStepsError

Source§

impl ProvideErrorMetadata for ListStorageProfilesError

Source§

impl ProvideErrorMetadata for ListStorageProfilesForQueueError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListTasksError

Source§

impl ProvideErrorMetadata for ListWorkersError

Source§

impl ProvideErrorMetadata for PutMeteredProductError

Source§

impl ProvideErrorMetadata for SearchJobsError

Source§

impl ProvideErrorMetadata for SearchStepsError

Source§

impl ProvideErrorMetadata for SearchTasksError

Source§

impl ProvideErrorMetadata for SearchWorkersError

Source§

impl ProvideErrorMetadata for StartSessionsStatisticsAggregationError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateBudgetError

Source§

impl ProvideErrorMetadata for UpdateFarmError

Source§

impl ProvideErrorMetadata for UpdateFleetError

Source§

impl ProvideErrorMetadata for UpdateJobError

Source§

impl ProvideErrorMetadata for UpdateMonitorError

Source§

impl ProvideErrorMetadata for UpdateQueueError

Source§

impl ProvideErrorMetadata for UpdateQueueEnvironmentError

Source§

impl ProvideErrorMetadata for UpdateQueueFleetAssociationError

Source§

impl ProvideErrorMetadata for UpdateSessionError

Source§

impl ProvideErrorMetadata for UpdateStepError

Source§

impl ProvideErrorMetadata for UpdateStorageProfileError

Source§

impl ProvideErrorMetadata for UpdateTaskError

Source§

impl ProvideErrorMetadata for UpdateWorkerError

Source§

impl ProvideErrorMetadata for UpdateWorkerScheduleError

Source§

impl ProvideErrorMetadata for AccessDeniedException

Source§

impl ProvideErrorMetadata for ConflictException

Source§

impl ProvideErrorMetadata for InternalServerErrorException

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