(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 {}}) ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close