aws_sdk_devicefarm::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 CreateDevicePoolError

Source§

impl ProvideErrorMetadata for CreateInstanceProfileError

Source§

impl ProvideErrorMetadata for CreateNetworkProfileError

Source§

impl ProvideErrorMetadata for CreateProjectError

Source§

impl ProvideErrorMetadata for CreateRemoteAccessSessionError

Source§

impl ProvideErrorMetadata for CreateTestGridProjectError

Source§

impl ProvideErrorMetadata for CreateTestGridUrlError

Source§

impl ProvideErrorMetadata for CreateUploadError

Source§

impl ProvideErrorMetadata for CreateVPCEConfigurationError

Source§

impl ProvideErrorMetadata for DeleteDevicePoolError

Source§

impl ProvideErrorMetadata for DeleteInstanceProfileError

Source§

impl ProvideErrorMetadata for DeleteNetworkProfileError

Source§

impl ProvideErrorMetadata for DeleteProjectError

Source§

impl ProvideErrorMetadata for DeleteRemoteAccessSessionError

Source§

impl ProvideErrorMetadata for DeleteRunError

Source§

impl ProvideErrorMetadata for DeleteTestGridProjectError

Source§

impl ProvideErrorMetadata for DeleteUploadError

Source§

impl ProvideErrorMetadata for DeleteVPCEConfigurationError

Source§

impl ProvideErrorMetadata for GetAccountSettingsError

Source§

impl ProvideErrorMetadata for GetDeviceError

Source§

impl ProvideErrorMetadata for GetDeviceInstanceError

Source§

impl ProvideErrorMetadata for GetDevicePoolError

Source§

impl ProvideErrorMetadata for GetDevicePoolCompatibilityError

Source§

impl ProvideErrorMetadata for GetInstanceProfileError

Source§

impl ProvideErrorMetadata for GetJobError

Source§

impl ProvideErrorMetadata for GetNetworkProfileError

Source§

impl ProvideErrorMetadata for GetOfferingStatusError

Source§

impl ProvideErrorMetadata for GetProjectError

Source§

impl ProvideErrorMetadata for GetRemoteAccessSessionError

Source§

impl ProvideErrorMetadata for GetRunError

Source§

impl ProvideErrorMetadata for GetSuiteError

Source§

impl ProvideErrorMetadata for GetTestError

Source§

impl ProvideErrorMetadata for GetTestGridProjectError

Source§

impl ProvideErrorMetadata for GetTestGridSessionError

Source§

impl ProvideErrorMetadata for GetUploadError

Source§

impl ProvideErrorMetadata for GetVPCEConfigurationError

Source§

impl ProvideErrorMetadata for InstallToRemoteAccessSessionError

Source§

impl ProvideErrorMetadata for ListArtifactsError

Source§

impl ProvideErrorMetadata for ListDeviceInstancesError

Source§

impl ProvideErrorMetadata for ListDevicePoolsError

Source§

impl ProvideErrorMetadata for ListDevicesError

Source§

impl ProvideErrorMetadata for ListInstanceProfilesError

Source§

impl ProvideErrorMetadata for ListJobsError

Source§

impl ProvideErrorMetadata for ListNetworkProfilesError

Source§

impl ProvideErrorMetadata for ListOfferingPromotionsError

Source§

impl ProvideErrorMetadata for ListOfferingTransactionsError

Source§

impl ProvideErrorMetadata for ListOfferingsError

Source§

impl ProvideErrorMetadata for ListProjectsError

Source§

impl ProvideErrorMetadata for ListRemoteAccessSessionsError

Source§

impl ProvideErrorMetadata for ListRunsError

Source§

impl ProvideErrorMetadata for ListSamplesError

Source§

impl ProvideErrorMetadata for ListSuitesError

Source§

impl ProvideErrorMetadata for ListTagsForResourceError

Source§

impl ProvideErrorMetadata for ListTestGridProjectsError

Source§

impl ProvideErrorMetadata for ListTestGridSessionActionsError

Source§

impl ProvideErrorMetadata for ListTestGridSessionArtifactsError

Source§

impl ProvideErrorMetadata for ListTestGridSessionsError

Source§

impl ProvideErrorMetadata for ListTestsError

Source§

impl ProvideErrorMetadata for ListUniqueProblemsError

Source§

impl ProvideErrorMetadata for ListUploadsError

Source§

impl ProvideErrorMetadata for ListVPCEConfigurationsError

Source§

impl ProvideErrorMetadata for PurchaseOfferingError

Source§

impl ProvideErrorMetadata for RenewOfferingError

Source§

impl ProvideErrorMetadata for ScheduleRunError

Source§

impl ProvideErrorMetadata for StopJobError

Source§

impl ProvideErrorMetadata for StopRemoteAccessSessionError

Source§

impl ProvideErrorMetadata for StopRunError

Source§

impl ProvideErrorMetadata for TagResourceError

Source§

impl ProvideErrorMetadata for UntagResourceError

Source§

impl ProvideErrorMetadata for UpdateDeviceInstanceError

Source§

impl ProvideErrorMetadata for UpdateDevicePoolError

Source§

impl ProvideErrorMetadata for UpdateInstanceProfileError

Source§

impl ProvideErrorMetadata for UpdateNetworkProfileError

Source§

impl ProvideErrorMetadata for UpdateProjectError

Source§

impl ProvideErrorMetadata for UpdateTestGridProjectError

Source§

impl ProvideErrorMetadata for UpdateUploadError

Source§

impl ProvideErrorMetadata for UpdateVPCEConfigurationError

Source§

impl ProvideErrorMetadata for ArgumentException

Source§

impl ProvideErrorMetadata for CannotDeleteException

Source§

impl ProvideErrorMetadata for IdempotencyException

Source§

impl ProvideErrorMetadata for InternalServiceException

Source§

impl ProvideErrorMetadata for InvalidOperationException

Source§

impl ProvideErrorMetadata for LimitExceededException

Source§

impl ProvideErrorMetadata for NotEligibleException

Source§

impl ProvideErrorMetadata for NotFoundException

Source§

impl ProvideErrorMetadata for ServiceAccountException

Source§

impl ProvideErrorMetadata for TagOperationException

Source§

impl ProvideErrorMetadata for TagPolicyException

Source§

impl ProvideErrorMetadata for TooManyTagsException

Source§

impl ProvideErrorMetadata for ErrorMetadata