ErrorsHandling
protocol renamed to Catch
, handle
renamed to caught
flet
:handler
parameter renamed to :caught
fail?
chain
- function for applying multiple functions for non-failure results in chain*catch-from*
, *ignored-exceptions*
, *default-handler*
, catching
, ignoring
, catch-from!
, ignore-exceptions!
, add-ignored-exceptions!
, ignored?
then
doesn't wrap to call
anymore, use then-call
to achieve thatcall
-wrapping then-call
, else-call
and thru-call
Fail
- custom container for failure representation with ability to skip stacktracefail-with
and fail-with!
- map-oriented Fail
construction helpers*default-handler*
and call-with
for more functional and thread-safe exceptions handlingflet
fail
, fail!
, catching
and ignoring
deprecatedfail!
- fail throwing shortcutfail-data
, fail-cause
and fail-trace
ignored?
now accepts instance of Throwable
instead of class*exception-base-class*
is now *catch-from*
fail-data
implementationfail-data
, fail-cause
and fail-trace
deprecatednil
is passed to ExceptionInfo
if no message has passed to fail
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close