(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 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 |