A tiny library to provide x-platform error throwing functions for Clojure & Clojurescript.
[thi.ng/xerror "0.1.0"]
(require '[thi.ng.xerror.core :as err])
(err/throw! "oops, you did it again!")
(err/key-error! :foo)
(err/type-error! 'myns.ExpectedType x)
(err/arity-error! 3)
(err/illegal-arg! 23)
(err/unsupported! "time-travel")
Copyright © 2013-2015 Karsten Schmidt