Liking cljdoc? Tell your friends :D
Mostly cljs.
Exceptions indicated.

com.potetm.fusebox.cljs.fallback


disablecljs

(disable spec)
source

initcljs

(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.
sourceraw docstring

shutdowncljs

(shutdown spec)
source

with-fallbackclj/smacro

(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.
sourceraw docstring

with-fallback*cljs

(with-fallback* {fb :com.potetm.fusebox.cljs.fallback/fallback} f)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close