Liking cljdoc? Tell your friends :D
Clojure only.

cues.error


errorclj

(error e)
(error context e)

Wraps any kind of exception in the Cues error data model, merging additional context in a transparent way. The intent is to be able to successively merge in Cues error data as some processor error bubbles up the implementation stack. Error context is merged, rather chained.

Given an exception that is raised in user code:

             exception         cause

domain exception e - cues level 1 (merge c1) e cues level 2 (merge c1 c2) e cues level 3 (merge c1 c2 c3) e ...

Wraps any kind of exception in the Cues error data model, merging
additional context in a transparent way. The intent is to be able to
successively merge in Cues error data as some processor error
bubbles up the implementation stack. Error context is merged, rather
chained.

Given an exception that is raised in user code:

                 exception         cause
domain exception e                 -
cues level 1     (merge c1)        e
cues level 2     (merge c1 c2)     e
cues level 3     (merge c1 c2 c3)  e
...
raw docstring

wrap-errorcljmacro

(wrap-error context & body)

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

× close