Skip to main content

Module errors

Module errors 

Source

Modules§

code
Stable, machine-readable tags a TS shim switches on to re-throw the matching HaysonXxxError. Every DatabaseError/TableError variant maps onto exactly one of these.

Constants§

ENVELOPE_VERSION
Envelope version of the JSON carried in every thrown Error.message. Bumped only if the shape below changes incompatibly — the TS shim reads it before trusting code.

Functions§

describe_cipher_config
describe_closed
describe_database_error
describe_invalid_json
describe_io_error
describe_migrate_format1_error
describe_schema
Free-form refusals raised by this binding itself (a malformed open option, an unusable key).
describe_table_error
table is the name the call was made against — TableError itself carries one only on the variants built from a HaysonXxxError, and even then not on Io.
describe_txn_error
Public because a binding raises TxnError::AlreadyCommitted itself: a unit of work handed to the engine is consumed there, so a second call on the same host-side handle never reaches the engine to be refused by it.
describe_unknown_table