Trait aws_sdk_ecr::error::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 BatchCheckLayerAvailabilityError

source§

impl ProvideErrorMetadata for BatchDeleteImageError

source§

impl ProvideErrorMetadata for BatchGetImageError

source§

impl ProvideErrorMetadata for BatchGetRepositoryScanningConfigurationError

source§

impl ProvideErrorMetadata for CompleteLayerUploadError

source§

impl ProvideErrorMetadata for CreatePullThroughCacheRuleError

source§

impl ProvideErrorMetadata for CreateRepositoryError

source§

impl ProvideErrorMetadata for DeleteLifecyclePolicyError

source§

impl ProvideErrorMetadata for DeletePullThroughCacheRuleError

source§

impl ProvideErrorMetadata for DeleteRegistryPolicyError

source§

impl ProvideErrorMetadata for DeleteRepositoryError

source§

impl ProvideErrorMetadata for DeleteRepositoryPolicyError

source§

impl ProvideErrorMetadata for DescribeImageReplicationStatusError

source§

impl ProvideErrorMetadata for DescribeImageScanFindingsError

source§

impl ProvideErrorMetadata for DescribeImagesError

source§

impl ProvideErrorMetadata for DescribePullThroughCacheRulesError

source§

impl ProvideErrorMetadata for DescribeRegistryError

source§

impl ProvideErrorMetadata for DescribeRepositoriesError

source§

impl ProvideErrorMetadata for GetAuthorizationTokenError

source§

impl ProvideErrorMetadata for GetDownloadUrlForLayerError

source§

impl ProvideErrorMetadata for GetLifecyclePolicyError

source§

impl ProvideErrorMetadata for GetLifecyclePolicyPreviewError

source§

impl ProvideErrorMetadata for GetRegistryPolicyError

source§

impl ProvideErrorMetadata for GetRegistryScanningConfigurationError

source§

impl ProvideErrorMetadata for GetRepositoryPolicyError

source§

impl ProvideErrorMetadata for InitiateLayerUploadError

source§

impl ProvideErrorMetadata for ListImagesError

source§

impl ProvideErrorMetadata for ListTagsForResourceError

source§

impl ProvideErrorMetadata for PutImageError

source§

impl ProvideErrorMetadata for PutImageScanningConfigurationError

source§

impl ProvideErrorMetadata for PutImageTagMutabilityError

source§

impl ProvideErrorMetadata for PutLifecyclePolicyError

source§

impl ProvideErrorMetadata for PutRegistryPolicyError

source§

impl ProvideErrorMetadata for PutRegistryScanningConfigurationError

source§

impl ProvideErrorMetadata for PutReplicationConfigurationError

source§

impl ProvideErrorMetadata for SetRepositoryPolicyError

source§

impl ProvideErrorMetadata for StartImageScanError

source§

impl ProvideErrorMetadata for StartLifecyclePolicyPreviewError

source§

impl ProvideErrorMetadata for TagResourceError

source§

impl ProvideErrorMetadata for UntagResourceError

source§

impl ProvideErrorMetadata for UpdatePullThroughCacheRuleError

source§

impl ProvideErrorMetadata for UploadLayerPartError

source§

impl ProvideErrorMetadata for ValidatePullThroughCacheRuleError

source§

impl ProvideErrorMetadata for EmptyUploadException

source§

impl ProvideErrorMetadata for ImageAlreadyExistsException

source§

impl ProvideErrorMetadata for ImageDigestDoesNotMatchException

source§

impl ProvideErrorMetadata for ImageNotFoundException

source§

impl ProvideErrorMetadata for ImageTagAlreadyExistsException

source§

impl ProvideErrorMetadata for InvalidLayerException

source§

impl ProvideErrorMetadata for InvalidLayerPartException

source§

impl ProvideErrorMetadata for InvalidParameterException

source§

impl ProvideErrorMetadata for InvalidTagParameterException

source§

impl ProvideErrorMetadata for KmsException

source§

impl ProvideErrorMetadata for LayerAlreadyExistsException

source§

impl ProvideErrorMetadata for LayerInaccessibleException

source§

impl ProvideErrorMetadata for LayerPartTooSmallException

source§

impl ProvideErrorMetadata for LayersNotFoundException

source§

impl ProvideErrorMetadata for LifecyclePolicyNotFoundException

source§

impl ProvideErrorMetadata for LifecyclePolicyPreviewInProgressException

source§

impl ProvideErrorMetadata for LifecyclePolicyPreviewNotFoundException

source§

impl ProvideErrorMetadata for LimitExceededException

source§

impl ProvideErrorMetadata for PullThroughCacheRuleAlreadyExistsException

source§

impl ProvideErrorMetadata for PullThroughCacheRuleNotFoundException

source§

impl ProvideErrorMetadata for ReferencedImagesNotFoundException

source§

impl ProvideErrorMetadata for RegistryPolicyNotFoundException

source§

impl ProvideErrorMetadata for RepositoryAlreadyExistsException

source§

impl ProvideErrorMetadata for RepositoryNotEmptyException

source§

impl ProvideErrorMetadata for RepositoryNotFoundException

source§

impl ProvideErrorMetadata for RepositoryPolicyNotFoundException

source§

impl ProvideErrorMetadata for ScanNotFoundException

source§

impl ProvideErrorMetadata for SecretNotFoundException

source§

impl ProvideErrorMetadata for ServerException

source§

impl ProvideErrorMetadata for TooManyTagsException

source§

impl ProvideErrorMetadata for UnableToAccessSecretException

source§

impl ProvideErrorMetadata for UnableToDecryptSecretValueException

source§

impl ProvideErrorMetadata for UnableToGetUpstreamImageException

source§

impl ProvideErrorMetadata for UnableToGetUpstreamLayerException

source§

impl ProvideErrorMetadata for UnsupportedImageTypeException

source§

impl ProvideErrorMetadata for UnsupportedUpstreamRegistryException

source§

impl ProvideErrorMetadata for UploadNotFoundException

source§

impl ProvideErrorMetadata for ValidationException

source§

impl ProvideErrorMetadata for ErrorMetadata