Liking cljdoc? Tell your friends :D

4.2.2

  • Added switch, deprecated handle

4.2.1

  • Fix flet compilation when destructuring

4.2.0

  • BREAKING! Remove catch-handler for flet
  • Improve readability of code generated by flet
  • Remove flet implementation for cljs as it didn't work anyways
  • Add cljs implementation for fail-with and fail-with!

4.1.0

  • POSSIBLY BREAKING! flet now throws exception in case of non-even bindings count (as let does)

4.0.0

  • BREAKING! new artifact group id
  • BREAKING! ErrorsHandling protocol renamed to Catch, handle renamed to caught
  • BREAKING! flet :handler parameter renamed to :caught
  • BREAKING! removed 2-args arity for fail?
  • BREAKING! removed fail and fail!
  • New protocol-based implementation for defining failure and non-failure processing and throwing
  • Added chain - function for applying multiple functions for non-failure results in chain
  • Added handle - function for applying success or error handler depending on value
  • Added ex-info! functional wrapper for creating and throwing ex-info
  • Added autocarrying for then, else, thru and their call-based versions
  • ClojureScript support (experimental)

3.0.0

  • BREAKING! new protocol-based implementation for setting up errors handling (default behavior is still the same though)
  • BREAKING! removed all vars, functions and macros for setting up errors handling: *catch-from*, *ignored-exceptions*, *default-handler*, catching, ignoring, catch-from!, ignore-exceptions!, add-ignored-exceptions!, ignored?

2.0.0

  • BREAKING! then doesn't wrap to call anymore, use then-call to achieve that
  • Added call-wrapping then-call, else-call and thru-call
  • Added Fail - custom container for failure representation with ability to skip stacktrace
  • Added fail-with and fail-with! - map-oriented Fail construction helpers
  • Added *default-handler* and call-with for more functional and thread-safe exceptions handling
  • Added ability to pass exceptions handler to flet
  • Mark fail, fail!, catching and ignoring deprecated

1.0.0

  • Added fail! - fail throwing shortcut
  • BREAKING! Removed fail-data, fail-cause and fail-trace
  • BREAKING! ignored? now accepts instance of Throwable instead of class
  • BREAKING! *exception-base-class* is now *catch-from*

0.5.0

  • Fix fail-data implementation
  • Mark fail-data, fail-cause and fail-trace deprecated

0.4.0

  • BREAKING! nil 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