Liking cljdoc? Tell your friends :D

pgmalli.impl.error

The errors pgmalli throws. ex-data carries :pgmalli/error, a kind a program dispatches on, its :cognitect.anomalies/category, and where they apply :given (the input at fault), :known (what was expected) and :suggest (the one probably meant). Messages say what is wrong, with which input, and what to do, in one line. Neither carries a db map, a URL or a password.

The errors pgmalli throws. ex-data carries :pgmalli/error, a kind a program dispatches on,
its :cognitect.anomalies/category, and where they apply :given (the input at fault),
:known (what was expected) and :suggest (the one probably meant). Messages say what is
wrong, with which input, and what to do, in one line. Neither carries a db map, a URL or a
password.
raw docstring

categoriesclj

source

did-you-meanclj

(did-you-mean x)

"; did you mean x?" for the name x printed as it should appear, "" for none.

"; did you mean x?" for the name x printed as it should appear, "" for none.
sourceraw docstring

fail!clj

(fail! kind message)
(fail! kind message data)
(fail! kind message data cause)
source

suggestclj

(suggest given known)

The known name closest to a misspelt one, nil when none is close.

The known name closest to a misspelt one, nil when none is close.
sourceraw docstring

suggestionsclj

(suggestions given known n)

Up to n of the known names closest to a misspelt one, closest first; nil when none is close.

Up to n of the known names closest to a misspelt one, closest first; nil when none is close.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close