Liking cljdoc? Tell your friends :D

com.potetm.fusebox.fallback


disableclj

(disable spec)
source

initclj

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

shutdownclj

(shutdown spec)
source

with-fallbackcljmacro

(with-fallback spec & body)

Evaluates body, returning the return value of ::fallback upon exception.

Evaluates body, returning the return value of ::fallback upon exception.
sourceraw docstring

with-fallback*clj

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

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

× close