#[non_exhaustive]
pub enum DescribeLanguageModelErrorKind {
BadRequestException(BadRequestException),
InternalFailureException(InternalFailureException),
LimitExceededException(LimitExceededException),
NotFoundException(NotFoundException),
Unhandled(Unhandled),
}Expand description
Types of errors that can occur for the DescribeLanguageModel operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BadRequestException(BadRequestException)
Your request didn't pass one or more validation tests. This can occur when the entity you're trying to delete doesn't exist or if it's in a non-terminal state (such as IN PROGRESS). See the exception message field for more information.
InternalFailureException(InternalFailureException)
There was an internal error. Check the error message, correct the issue, and try your request again.
LimitExceededException(LimitExceededException)
You've either sent too many requests or your input file is too long. Wait before retrying your request, or use a smaller file and try your request again.
NotFoundException(NotFoundException)
We can't find the requested resource. Check that the specified name is correct and try your request again.
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.