Skip to main content

Module error_code

Module error_code 

Source
Expand description

Stable error codes. Drivers map these to idiomatic exceptions.

Constantsยง

CURSOR_LIMIT_EXCEEDED
Too many concurrent cursors open in a single session.
CURSOR_NOT_FOUND
query.next / query.close referenced an unknown cursor id. Either the cursor was never opened, already closed, or was automatically dropped when its rows were exhausted.
INTERNAL_ERROR
INVALID_PARAMS
INVALID_REQUEST
NOT_FOUND
NO_TX_OPEN
tx.commit / tx.rollback was called without a matching tx.begin.
PARSE_ERROR
QUERY_ERROR
TX_ALREADY_OPEN
tx.begin was called while a transaction was already open in the same session.
TX_NOT_SUPPORTED_REMOTE
Transactions over the remote gRPC proxy are not supported yet.
TX_REPLAY_FAILED
A buffered statement failed during tx.commit replay. The error message carries the index of the failing op and the number of operations that successfully applied before the failure.