domain/errors/odbc_error
library
Enums
-
ErrorCategory
-
Error category for decision-making (retry, abort, reconnect, etc.)
Exceptions / Errors
-
BulkPartialFailureError
-
Bulk insert split into chunks failed mid-way.
-
CancelledError
-
Operation cancelled by the caller (cooperative cancellation).
Distinct from a driver error: the request was successfully aborted.
-
ConnectionError
-
Error during database connection establishment or maintenance.
-
EnvironmentNotInitializedError
-
Error indicating the ODBC environment was not properly initialized.
-
MalformedPayloadError
-
Wire-format payload is malformed (truncated, length mismatch, invalid tag).
Always indicates a protocol bug in the caller — NOT retryable.
-
NoMoreResultsError
-
SQLMoreResults reports there are no further result sets.
Informational: producers may stop iterating without treating it as failure.
-
OdbcError
-
Base class for all ODBC-related errors.
-
QueryError
-
Error during SQL query execution.
-
ResourceLimitReachedError
-
Resource limit reached (too many handles, payload too large, queue full).
Generally NOT retryable without backoff.
-
RollbackFailedError
-
Rollback failed during cleanup. Carries the original failure so callers
can decide between retry and connection destruction.
-
UnsupportedFeatureError
-
Error indicating requested capability is not supported by current runtime.
-
ValidationError
-
Error indicating invalid input or parameters.
-
WorkerCrashedError
-
A worker thread (streaming/async pipeline) crashed or disconnected
without sending end-of-stream. Indicates a serious internal failure.