Raised by a HotMesh PostgreSQL connection when the failure is the connection's, not the statement's: the session was lost, is reconnecting, or a transaction did not survive a reconnect. The native error, when there is one, is kept on cause.

Hierarchy

  • Error
    • HotMeshConnectionError

Constructors

Properties

Constructors

Properties

cause?: unknown
code: "HMSH_PG_UNAVAILABLE" = 'HMSH_PG_UNAVAILABLE'
connectionId?: string