#[non_exhaustive]
pub enum Error {
Show 18 variants CallRateLimitExceededException(CallRateLimitExceededException), ClientException(ClientException), ForbiddenException(ForbiddenException), IdempotentParameterMismatchException(IdempotentParameterMismatchException), InvalidPaginationTokenException(InvalidPaginationTokenException), InvalidParameterCombinationException(InvalidParameterCombinationException), InvalidParameterException(InvalidParameterException), InvalidParameterValueException(InvalidParameterValueException), InvalidRequestException(InvalidRequestException), InvalidVersionNumberException(InvalidVersionNumberException), ResourceAlreadyExistsException(ResourceAlreadyExistsException), ResourceDependencyException(ResourceDependencyException), ResourceInUseException(ResourceInUseException), ResourceNotFoundException(ResourceNotFoundException), ServiceException(ServiceException), ServiceQuotaExceededException(ServiceQuotaExceededException), ServiceUnavailableException(ServiceUnavailableException), Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

CallRateLimitExceededException(CallRateLimitExceededException)

You have exceeded the permitted request rate for the specific operation.

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.

ForbiddenException(ForbiddenException)

You are not authorized to perform the requested operation.

IdempotentParameterMismatchException(IdempotentParameterMismatchException)

You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.

InvalidPaginationTokenException(InvalidPaginationTokenException)

You have provided an invalid pagination token in your request.

InvalidParameterCombinationException(InvalidParameterCombinationException)

You have specified two or more mutually exclusive parameters. Review the error message for details.

InvalidParameterException(InvalidParameterException)

The specified parameter is invalid. Review the available parameters for the API request.

InvalidParameterValueException(InvalidParameterValueException)

The value that you provided for the specified parameter is invalid.

InvalidRequestException(InvalidRequestException)

You have made a request for an action that is not supported by the service.

InvalidVersionNumberException(InvalidVersionNumberException)

Your version number is out of bounds or does not follow the required syntax.

ResourceAlreadyExistsException(ResourceAlreadyExistsException)

The resource that you are trying to create already exists.

ResourceDependencyException(ResourceDependencyException)

You have attempted to mutate or delete a resource with a dependency that prohibits this action. See the error message for more details.

ResourceInUseException(ResourceInUseException)

The resource that you are trying to operate on is currently in use. Review the message details and retry later.

ResourceNotFoundException(ResourceNotFoundException)

At least one of the resources referenced by your request does not exist.

ServiceException(ServiceException)

This exception is thrown when the service encounters an unrecoverable exception.

ServiceQuotaExceededException(ServiceQuotaExceededException)

You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.

ServiceUnavailableException(ServiceUnavailableException)

The service is unable to process your request at this time.

Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more