• (fail options)

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 circumspec/should.clj:42 top

(defmacro fail
  `(let [options# (assoc ~options :locals (local-bindings))]
     (when (config/debug) (should-repl options#))
     (throw (new circumspec.AssertFailed (:msg options#) options#))))
Vars in circumspec.should/fail: defmacro apply assoc concat let list seq vector when
Used in 0 other vars

Comments top

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