Liking cljdoc? Tell your friends :D

boundary.devtools.shell.repl-error-handler

REPL error handler — runs the error pipeline and stores the last exception. This is a shell namespace: it performs I/O (printing). Usage from user.clj: Wrap public REPL functions with try/catch that calls handle-repl-error! The zero-arity (fix!) reads from last-exception*.

REPL error handler — runs the error pipeline and stores the last exception.
This is a shell namespace: it performs I/O (printing).
Usage from user.clj:
  Wrap public REPL functions with try/catch that calls handle-repl-error!
  The zero-arity (fix!) reads from last-exception*.
raw docstring

handle-repl-error!clj

(handle-repl-error! exception)
(handle-repl-error! exception
                    {:keys [guidance-level] :or {guidance-level :full}})

Run the full error pipeline on an exception and print the result. Stores the exception in last-exception* for (fix!) to access. Pipeline: classify → enrich → format → print Falls back to standard output + AI hint for unclassified errors.

opts (optional): :guidance-level — controls fix-hint visibility in output

Run the full error pipeline on an exception and print the result.
Stores the exception in last-exception* for (fix!) to access.
Pipeline: classify → enrich → format → print
Falls back to standard output + AI hint for unclassified errors.

opts (optional):
  :guidance-level — controls fix-hint visibility in output
sourceraw docstring

last-exception*clj

source

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