Liking cljdoc? Tell your friends :D

com.avisi-apps.gaps.rollbar


BodyContainercljs

source

configcljs

source

criticalcljs

source

debugcljs

source

errorcljs

source

error-boundaryclj/smacro

(error-boundary opts & body)

Fulcro wrapper macro for Rollbar's Error Boundary

Options:

  • :level, level at which Rollbar logs react error messages
  • :error-message, the message that will be sent along the error
  • :fallback-ui-fn, the UI components to be rendered when an error occurs

The :error-message can also be a function with the signature: (fn [error props] message-to-sent), see Rollbar's react documentation for more details on the props.

The :fallback-ui-fn function takes function with the signature: (fn [props] what-to-render), where the props is a bean with the key :error.

Fulcro wrapper macro for Rollbar's Error Boundary

Options:
  * :level, level at which Rollbar logs react error messages
  * :error-message, the message that will be sent along the error
  * :fallback-ui-fn, the UI components to be rendered when an error occurs

The `:error-message` can also be a function with the signature: `(fn [error props] message-to-sent)`,
see Rollbar's react documentation for more details on the props.

The `:fallback-ui-fn` function takes function with the signature: `(fn [props] what-to-render)`,
where the props is a bean with the key `:error`.
sourceraw docstring

error-boundary*cljs

(error-boundary* {:keys [level error-message parent render fallback-ui-fn]})

Use the error-boundary macro instead

Use the error-boundary macro instead
sourceraw docstring

fallback-ui-wrappercljs

(fallback-ui-wrapper fallback-ui-fn)
source

fulcro-route-to-context-transformercljs

(fulcro-route-to-context-transformer app)

Given an app atom, returns a composable Rollbar transformer that sets the current route as the context

Given an app atom, returns a composable Rollbar transformer
that sets the current route as the context
sourceraw docstring

infocljs

source

notifiercljs

(notifier)
(notifier m)

Creates a new Rollbar notifier using existing config. Can be merged with configurations in m

Creates a new Rollbar notifier using existing config.
Can be merged with configurations in `m`
sourceraw docstring

providercljs

source

set-config!cljs

(set-config! m)
source

ui-body-containercljs

source

warncljs

source

with-transformerscljs

(with-transformers c & t)

Composes the functions t from right to left and assigns that to the Rollbar config

Composes the functions `t` from right to left and assigns that to the Rollbar config
sourceraw docstring

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

× close