Used by the 'is' macro to catch unexpected exceptions.
You don't call this.
(defmacro try-expr
"Used by the 'is' macro to catch unexpected exceptions.
You don't call this."
{:added "1.1"}
[msg form]
`(try ~(assert-expr msg form)
(catch Throwable t#
(do-report {:type :error, :message ~msg,
:expected '~form, :actual t#}))))
Comments top
No comments for try-expr. Log in to add a comment.