SessionClosed¶
Error returned when a query is attempted for a session that was closed or failed to open. Includes sessions that were closed by the user as well as those closed due to connection failures, authentication failures, connections that were shut down after a server protocol violation, and sessions whose TCP connection was closed by the server after reaching the ready state.
For server protocol violations specifically, the in-flight query (if
any) receives ProtocolViolation rather than SessionClosed; only
queued queries receive SessionClosed in that case. For every other
cause (including peer TCP close post-ready), the in-flight query
receives SessionClosed along with the queued queries.
Constructors¶
create¶
Returns¶
- SessionClosed val^
Public Functions¶
eq¶
Parameters¶
- that: SessionClosed val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SessionClosed val
Returns¶
- Bool val