are there any docs/examples on error handling when...
# exposed
m
are there any docs/examples on error handling when using exposed? Im trying to add some resiliency to my caching layer without broadly catching Exception. I found in the source code that at least some of the functions in exposed catch
SqlException
and wrap them in
ExposedSqlException
, but for other things like SchemaUtils.create(...) the
PSQLException
is whats thrown instead of being wrapped when the connection to the database fails. Both of those extend
SQLException
so i could catch that but i'd like to have some more fine grained control over handling different errors