(init {_fb :com.potetm.fusebox.cljs.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 which returns a promise, returning the return value of ::fallback upon exception.
Evaluates body which returns a promise, returning the return value of ::fallback upon exception.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close