Liking cljdoc? Tell your friends :D

wagoe.platform.core.database.connection-loss

Whether an exception says the database cannot be reached, rather than that it refused a statement. One definition, read by wagoe.platform.database, the loops that stop at a lost connection, and devtools' WGE-303 (BOU-970).

Whether an exception says the database cannot be reached, rather than that
it refused a statement. One definition, read by `wagoe.platform.database`,
the loops that stop at a lost connection, and devtools' WGE-303 (BOU-970).
raw docstring

connection-lost?clj

(connection-lost? e)

Whether e, or anything that caused it, is lost-itself?. A failed rollback's ex-info from next.jdbc has no cause: it names the exceptions under :handling and :rollback.

Whether `e`, or anything that caused it, is `lost-itself?`. A failed
rollback's ex-info from next.jdbc has no cause: it names the exceptions
under :handling and :rollback.
sourceraw docstring

lost-itself?clj

(lost-itself? t)

Whether t itself, not its causes, says the database cannot be reached: SQLState class 08 (PostgreSQL, MySQL), a state in lost-states, or the JDBC connection exceptions HikariCP and H2 throw, a pool timeout with no state among them.

Whether `t` itself, not its causes, says the database cannot be reached:
SQLState class 08 (PostgreSQL, MySQL), a state in `lost-states`, or the
JDBC connection exceptions HikariCP and H2 throw, a pool timeout with no
state among them.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close