Liking cljdoc? Tell your friends :D

e85th.commons.ex


authclj

(auth kind)
(auth kind msg)
(auth kind msg data-map)
(auth kind msg data-map cause)

No single arity which just takes msg-or-msgs because there should be specificity which can be used for UIs to display more user friendly message potentially. kind becomes the error code in keyword form.

No single arity which just takes msg-or-msgs because there should be specificity
which can be used for UIs to display more user friendly message potentially. kind becomes the
error code in keyword form.
sourceraw docstring

auth?clj

(auth? x)
source

error-tupleclj

(error-tuple ex)
(error-tuple kind msg data)

Returns a triple of [keyword string map] or constructs an error-tuple.

Returns a triple of [keyword string map] or constructs an error-tuple.
sourceraw docstring

ex-msgclj

source

ex-typeclj

source

forbiddenclj

(forbidden kind)
(forbidden kind msg)
(forbidden kind msg data-map)
(forbidden kind msg data-map cause)

No single arity which just takes msg-or-msgs because there should be specificity which can be used for UIs to display more user friendly message potentially. kind becomes the error code in keyword form.

No single arity which just takes msg-or-msgs because there should be specificity
which can be used for UIs to display more user friendly message potentially. kind becomes the
error code in keyword form.
sourceraw docstring

forbidden?clj

(forbidden? x)
source

genericclj

(generic kind)
(generic kind msg)
(generic kind msg data-map)

Creates and returns a new generic exception.

Creates and returns a new generic exception.
sourceraw docstring

not-foundclj

(not-found)
(not-found msg)
(not-found kind msg data-map)
source

not-found?clj

(not-found? x)
source

type+msgclj

(type+msg ex)

Answers with a tuple of [keyword string map]

Answers with a tuple of [keyword string map]
sourceraw docstring

validationclj

(validation kind)
(validation kind msg)
(validation kind msg data-map)
(validation kind msg data-map cause)

kind becomes the error code in keyword form.

kind becomes the error code in keyword form.
sourceraw docstring

validation?clj

(validation? x)
source

wrap-not-foundclj

(wrap-not-found f)

Returns a function that throws NotFoundException if f return nil

Returns a function that throws NotFoundException if f
return nil
sourceraw docstring

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

× close