Liking cljdoc? Tell your friends :D

recide.error


cause-keywordclj

source

constructorclj

source

data-keywordclj

source

default-cause-keywordclj

source

default-constructorclj

source

default-data-keywordclj

source

default-message-keywordclj

source

default-metadata-fnsclj

source

default-serialization-tagclj

source

default-serialized-keywordclj

source

default-type-keywordclj

source

error-formclj

(error-form {:keys [serialization-tag type-keyword message-keyword data-keyword
                    cause-keyword serialized-keyword constructor metadata-fns]
             :or {serialization-tag "recide/error"
                  type-keyword :recide/type
                  message-keyword :recide/msg
                  data-keyword :recide/data
                  cause-keyword :recide/cause
                  serialized-keyword :recide.serialized-throwable/v1
                  constructor ex-info
                  metadata-fns {}}})

Constructor for recide.error/ErrorForm. Values not supplied in the map here will default to the same behavior as recide.core errors. All available keys illustrated here with return values corresponding to recide defaults:

(error-form
   {:serialization-tag "recide/error"
    :type-keyword :recide/type
    :message-keyword :recide/msg
    :data-keyword :recide/data
    :cause-keyword :recide/cause
    :serialized-keyword :recide.serialized-throwable/v2
    :serializer recide.utils/serialize-throwable
    :constructor clojure.core/ex-info
    :metadata-fns {}})
Constructor for recide.error/ErrorForm. Values not supplied in the map here will default
to the same behavior as recide.core errors. All available keys illustrated here with return
values corresponding to recide defaults:
```
(error-form
   {:serialization-tag "recide/error"
    :type-keyword :recide/type
    :message-keyword :recide/msg
    :data-keyword :recide/data
    :cause-keyword :recide/cause
    :serialized-keyword :recide.serialized-throwable/v2
    :serializer recide.utils/serialize-throwable
    :constructor clojure.core/ex-info
    :metadata-fns {}})
```
sourceraw docstring

message-keywordclj

source

metadata-fnsclj

source

raised-sitesclj

source

serialization-tagclj

source

serialized-keywordclj

source

type-keywordclj

source

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

× close