Enum aws_sdk_codegurureviewer::Error
source · #[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
NotFoundException(NotFoundException),
ResourceNotFoundException(ResourceNotFoundException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
You do not have sufficient access to perform this action.
ConflictException(ConflictException)
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
InternalServerException(InternalServerException)
The server encountered an internal error and is unable to complete the request.
NotFoundException(NotFoundException)
The resource specified in the request was not found.
ResourceNotFoundException(ResourceNotFoundException)
The resource specified in the request was not found.
ThrottlingException(ThrottlingException)
The request was denied due to request throttling.
ValidationException(ValidationException)
The input fails to satisfy the specified constraints.
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.