(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 is a website building & hosting documentation for Clojure/Script libraries
× close