Liking cljdoc? Tell your friends :D

k16.glitch


->definitionclj

(->definition config)

?Glitchclj


?GlitchDefinitionclj


authentication_errorclj


authorization_errorclj


bad_gatewayclj


bad_requestclj


build-glitchclj

(build-glitch {:keys [definition message props cause]})

conflictclj


display-safeclj

(display-safe glitch)

Construct a new glitch with has been made display-safe

Construct a new glitch with has been made display-safe
raw docstring

display-safe!clj

(display-safe! glitch)

Like gl/display-safe except this throws the error

Like `gl/display-safe` except this throws the error
raw docstring

excljmacro

(ex definition)
(ex definition message-or-props-or-cause)
(ex definition message-or-props props-or-cause)
(ex definition message props cause)

ex!cljmacro

(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
raw docstring

ex->glitchclj

(ex->glitch e glitch)

faultclj


gateway_timeoutclj


glitch?clj

(glitch? glitch)
(glitch? definition glitch)

invalid_typeclj


not_foundclj


not_implementedclj


payload_too_largeclj


schema_invalidclj


service_unavailableclj


too_many_requestsclj


unprocessable_entityclj


validate-schema!clj

(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.
raw docstring

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

× close