(failure? result)
When ART fails to render a template, instead of the template output, it produces a value that describes the failure. Use this function to discriminate a failure from regular template output.
When ART fails to render a template, instead of the template output, it produces a value that describes the failure. Use this function to discriminate a failure from regular template output.
(make-failure failure-type cause template)
Makes an ART failure data structure describing the type of failure, the input that triggered the failure, and information about the cause.
Makes an ART failure data structure describing the type of failure, the input that triggered the failure, and information about the cause.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |