#[non_exhaustive]
pub enum GetDownloadUrlForLayerErrorKind {
InvalidParameterException(InvalidParameterException),
LayerInaccessibleException(LayerInaccessibleException),
LayersNotFoundException(LayersNotFoundException),
RepositoryNotFoundException(RepositoryNotFoundException),
ServerException(ServerException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the GetDownloadUrlForLayer
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidParameterException(InvalidParameterException)
The specified parameter is invalid. Review the available parameters for the API request.
LayerInaccessibleException(LayerInaccessibleException)
The specified layer is not available because it is not associated with an image. Unassociated image layers may be cleaned up at any time.
LayersNotFoundException(LayersNotFoundException)
The specified layers could not be found, or the specified layer is not valid for this repository.
RepositoryNotFoundException(RepositoryNotFoundException)
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
ServerException(ServerException)
These errors are usually caused by a server-side issue.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.