(error-boundary opts & body)
Fulcro wrapper macro for Rollbar's Error Boundary
Options:
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`.
(error-boundary* {:keys [level error-message parent render fallback-ui-fn]})
Use the error-boundary macro instead
Use the error-boundary macro instead
(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
(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`
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close