such.wrongness
boom!
(boom! fmt & args)
(boom! exception-class fmt & args)
In the first case, throw a java.lang.Exception whose message was constructed by applying format
to fmt
and the args
. In the second case, the exception thrown is given by exception-class
.
(boom! "wow")
(boom! "wow: %s" (cons 1 (cons 2 nil)))
(boom! NumberFormatException "wow: %s" input)