#[non_exhaustive]
pub enum Error {
Show 23 variants AlreadyExistsException(AlreadyExistsException), CfnRegistryException(CfnRegistryException), ChangeSetNotFoundException(ChangeSetNotFoundException), CreatedButModifiedException(CreatedButModifiedException), InsufficientCapabilitiesException(InsufficientCapabilitiesException), InvalidChangeSetStatusException(InvalidChangeSetStatusException), InvalidOperationException(InvalidOperationException), InvalidStateTransitionException(InvalidStateTransitionException), LimitExceededException(LimitExceededException), NameAlreadyExistsException(NameAlreadyExistsException), OperationIdAlreadyExistsException(OperationIdAlreadyExistsException), OperationInProgressException(OperationInProgressException), OperationNotFoundException(OperationNotFoundException), OperationStatusCheckFailedException(OperationStatusCheckFailedException), StackInstanceNotFoundException(StackInstanceNotFoundException), StackNotFoundException(StackNotFoundException), StackSetNotEmptyException(StackSetNotEmptyException), StackSetNotFoundException(StackSetNotFoundException), StaleRequestException(StaleRequestException), TokenAlreadyExistsException(TokenAlreadyExistsException), TypeConfigurationNotFoundException(TypeConfigurationNotFoundException), TypeNotFoundException(TypeNotFoundException), 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.

AlreadyExistsException(AlreadyExistsException)

The resource with the name requested already exists.

CfnRegistryException(CfnRegistryException)

An error occurred during a CloudFormation registry operation.

ChangeSetNotFoundException(ChangeSetNotFoundException)

The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the ListChangeSets operation.

CreatedButModifiedException(CreatedButModifiedException)

The specified resource exists, but has been changed.

InsufficientCapabilitiesException(InsufficientCapabilitiesException)

The template contains resources with capabilities that weren't specified in the Capabilities parameter.

InvalidChangeSetStatusException(InvalidChangeSetStatusException)

The specified change set can't be used to update the stack. For example, the change set status might be CREATE_IN_PROGRESS, or the stack status might be UPDATE_IN_PROGRESS.

InvalidOperationException(InvalidOperationException)

The specified operation isn't valid.

InvalidStateTransitionException(InvalidStateTransitionException)

Error reserved for use by the CloudFormation CLI. CloudFormation doesn't return this error to users.

LimitExceededException(LimitExceededException)

The quota for the resource has already been reached.

For information about resource and stack limitations, see CloudFormation quotas in the CloudFormation User Guide.

NameAlreadyExistsException(NameAlreadyExistsException)

The specified name is already in use.

OperationIdAlreadyExistsException(OperationIdAlreadyExistsException)

The specified operation ID already exists.

OperationInProgressException(OperationInProgressException)

Another operation is currently in progress for this stack set. Only one operation can be performed for a stack set at a given time.

OperationNotFoundException(OperationNotFoundException)

The specified ID refers to an operation that doesn't exist.

OperationStatusCheckFailedException(OperationStatusCheckFailedException)

Error reserved for use by the CloudFormation CLI. CloudFormation doesn't return this error to users.

StackInstanceNotFoundException(StackInstanceNotFoundException)

The specified stack instance doesn't exist.

StackNotFoundException(StackNotFoundException)

The specified stack ARN doesn't exist or stack doesn't exist corresponding to the ARN in input.

StackSetNotEmptyException(StackSetNotEmptyException)

You can't yet delete this stack set, because it still contains one or more stack instances. Delete all stack instances from the stack set before deleting the stack set.

StackSetNotFoundException(StackSetNotFoundException)

The specified stack set doesn't exist.

StaleRequestException(StaleRequestException)

Another operation has been performed on this stack set since the specified operation was performed.

TokenAlreadyExistsException(TokenAlreadyExistsException)

A client request token already exists.

TypeConfigurationNotFoundException(TypeConfigurationNotFoundException)

The specified extension configuration can't be found.

TypeNotFoundException(TypeNotFoundException)

The specified extension doesn't exist in the CloudFormation registry.

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

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

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