(->definition config)
(build-glitch {:keys [definition message props cause]})
(display-safe glitch)
Construct a new glitch with has been made display-safe
Construct a new glitch with has been made display-safe
(display-safe! glitch)
Like gl/display-safe
except this throws the error
Like `gl/display-safe` except this throws the error
(ex definition)
(ex definition message-or-props-or-cause)
(ex definition message-or-props props-or-cause)
(ex definition message props cause)
(ex! definition)
(ex! definition message|props|cause)
(ex! definition message|props props|cause)
(ex! definition message props cause)
Same as ex
but this throws the constructed glitch directly
Same as `ex` but this throws the constructed glitch directly
(ex->glitch e glitch)
(glitch? glitch)
(glitch? definition glitch)
(validate-schema! ?schema data)
(validate-schema! ?schema data message)
Validate the given data
against a given ?schema
throwing a schema_invalid glitch if
the data does not conform to the schema.
This function compiles and memoizes the given ?schema for general performance improvements. Note therefor that if provided with high cardinality schema data this may unexpectedly increase process memory.
Validate the given `data` against a given `?schema` throwing a schema_invalid glitch if the data does not conform to the schema. This function compiles and memoizes the given ?schema for general performance improvements. Note therefor that if provided with high cardinality schema data this may unexpectedly increase process memory.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close