Namespace for all Diagnostics-related functionality.
A Diagnostic is an instance of a match of a rule's pattern in a given analyzed code. It has the following definition:
(defrecord Diagnostic
[rule-name form message alt line column end-line end-column filename exception])
Namespace for all Diagnostics-related functionality. A Diagnostic is an instance of a match of a rule's pattern in a given analyzed code. It has the following definition: ```clojure (defrecord Diagnostic [rule-name form message alt line column end-line end-column filename exception]) ```
(->diagnostic ctx rule form)
(->diagnostic ctx
rule
form
{:keys [replace-form message filename form-meta exception]})
Create and return a new diagnostic.
Create and return a new diagnostic.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close