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*.
(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
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 |