(init {_fb :com.potetm.fusebox.fallback/fallback :as spec})
Initialize a fallback
spec is a map containing: ::fallback - fn to invoke upon exception. Takes one arg, the exception that was thrown. The return value of fn is returned to the caller.
Initialize a fallback spec is a map containing: ::fallback - fn to invoke upon exception. Takes one arg, the exception that was thrown. The return value of fn is returned to the caller.
(with-fallback spec & body)
Evaluates body, returning the return value of ::fallback upon exception.
Evaluates body, returning the return value of ::fallback upon exception.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close