• (raise err-name & args)
Raise an error of the type err-name, constructed with the given args

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/error_kit.clj:110 top

(defmacro raise
  "Raise an error of the type err-name, constructed with the given args"
  [err-name & args]
  `(raise* (~err-name ~(zipmap (::args (meta (resolve err-name)))
                               args))))
Vars in clojure.contrib.error-kit/raise: defmacro meta resolve zipmap concat list seq
Used in 0 other vars

Comments top

No comments for raise. Log in to add a comment.