Facilities for printing and manipulating error messages.
Facilities for printing and manipulating error messages.
(augment-failure failure text)
Adds text, line, and column info to failure object.
Adds text, line, and column info to failure object.
(get-line n text)
Returns nth line of text, 1-based
Returns nth line of text, 1-based
(index->line-column index text)
Takes an index into text, and determines the line and column info
Takes an index into text, and determines the line and column info
(marker n)
Creates string with caret at nth position, 1-based
Creates string with caret at nth position, 1-based
(pprint-failure {:keys [line column text reason]})
Takes an augmented failure object and prints the error message
Takes an augmented failure object and prints the error message
(print-reason r)
Provides special case for printing negative lookahead reasons
Provides special case for printing negative lookahead reasons
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 |