#[non_exhaustive]
pub enum DeleteSessionErrorKind {
BadRequestException(BadRequestException),
ConflictException(ConflictException),
InternalFailureException(InternalFailureException),
LimitExceededException(LimitExceededException),
NotFoundException(NotFoundException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the DeleteSession
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BadRequestException(BadRequestException)
Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes.
ConflictException(ConflictException)
Two clients are using the same AWS account, Amazon Lex bot, and user ID.
InternalFailureException(InternalFailureException)
Internal service error. Retry the call.
LimitExceededException(LimitExceededException)
Exceeded a limit.
NotFoundException(NotFoundException)
The resource (such as the Amazon Lex bot or an alias) that is referred to is not found.
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.