git clone 'https://github.com/pyr/uncaught.git'
Uncaught is a single macro namespace to provide a convenience macro for handling uncaught exceptions.
Add the following depenency to your
Up to date instructions and pointers to other build environement are available on clojars
(with-uncaught [e & body]): When an uncaught exception is thrown,
body while binding
e to the exception. The
dynamic variable will also be bound to the thread on which the
(with-uncaught e (warn e "uncaught exception"))
uncaught symbol is available for backward compatibility purposes.
This is inspired by Stuart Sierra's Clojure Do's Series
Copyright © 2015 Pierre-Yves Ritschard mailto:email@example.com. Distributed under the ISC License, see LICENSE file.