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).
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |