(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.
(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.
(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.
(generic kind)
(generic kind msg)
(generic kind msg data-map)
Creates and returns a new generic exception.
Creates and returns a new generic exception.
(type+msg ex)
Answers with a tuple of [keyword string map]
Answers with a tuple of [keyword string map]
(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.
(wrap-not-found f)
Returns a function that throws NotFoundException if f return nil
Returns a function that throws NotFoundException if f return nil
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close