Enum aws_sdk_redshiftdata::Error
source · #[non_exhaustive]
pub enum Error {
ActiveStatementsExceededException(ActiveStatementsExceededException),
BatchExecuteStatementException(BatchExecuteStatementException),
DatabaseConnectionException(DatabaseConnectionException),
ExecuteStatementException(ExecuteStatementException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ActiveStatementsExceededException(ActiveStatementsExceededException)
The number of active statements exceeds the limit.
BatchExecuteStatementException(BatchExecuteStatementException)
An SQL statement encountered an environmental error while running.
DatabaseConnectionException(DatabaseConnectionException)
Connection to a database failed.
ExecuteStatementException(ExecuteStatementException)
The SQL statement encountered an environmental error while running.
InternalServerException(InternalServerException)
The Amazon Redshift Data API operation failed due to invalid input.
ResourceNotFoundException(ResourceNotFoundException)
The Amazon Redshift Data API operation failed due to a missing resource.
ValidationException(ValidationException)
The Amazon Redshift Data API operation failed due to invalid input.
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.