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.
(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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |