Liking cljdoc? Tell your friends :D

hive-hot.diagnostic

Pure diagnostics for namespace reload outcomes.

Pure diagnostics for namespace reload outcomes.
raw docstring

reload-outcomeclj

(reload-outcome result)

Attach recovery guidance without changing the reload outcome.

Attach recovery guidance without changing the reload outcome.
sourceraw docstring

root-causeclj

(root-cause t)

The innermost throwable of t's ex-cause chain as data: {:message :class :file :line :column}. The location comes from the innermost CompilerException-shaped link (ex-data :clojure.error/source, /line, /column) - the root itself usually carries none. nil for nil.

The innermost throwable of `t`'s ex-cause chain as data:
{:message :class :file :line :column}. The location comes from the
innermost CompilerException-shaped link (ex-data :clojure.error/source,
/line, /column) - the root itself usually carries none. nil for nil.
sourceraw docstring

root-summaryclj

(root-summary {:keys [message class ns file line column]})

One line naming a root cause: message, class, ns and file:line when known.

One line naming a root cause: message, class, ns and file:line when known.
sourceraw docstring

with-root-causeclj

(with-root-cause {:keys [exception failed] :as result})

Attach :root-cause (the innermost ex-cause of :exception, plus the failed ns) to a reload result and make :error carry it after the wrapper message.

Attach :root-cause (the innermost ex-cause of :exception, plus the failed
ns) to a reload result and make :error carry it after the wrapper message.
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