#[non_exhaustive]
pub enum ImportVmImageErrorKind {
ClientException(ClientException),
ServiceException(ServiceException),
ServiceUnavailableException(ServiceUnavailableException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the ImportVmImage
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ClientException(ClientException)
These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
ServiceException(ServiceException)
This exception is thrown when the service encounters an unrecoverable exception.
The service is unable to process your request at this time.
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.