Liking cljdoc? Tell your friends :D

humanize.schema


ex->errclj

(ex->err ex)
(ex->err ex user-provided-translations)

Convert Schema exception into descriptive data structure showing errors. Returns nil if errors could not be extracted.

Convert Schema exception into descriptive data structure showing errors.
Returns nil if errors could not be extracted.
sourceraw docstring

explainclj

(explain x)
(explain x additional-translations)
source

humanizeclj

(humanize x)
(humanize x additional-translations)

Returns a human explanation of a SINGLE error. This is for errors which are from USER input. It is not for programming errors. If the error is a map/vector then this function must be applied to each of those values.

Returns a human explanation of a SINGLE error.
This is for errors which are from USER input. It is not for programming errors.
If the error is a map/vector then this function must be applied to each of those
values.
sourceraw docstring

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

× close