Function: cider-default-err-handler

cider-default-err-handler is a byte-compiled function defined in cider-eval.el.

Signature

(cider-default-err-handler &optional BUFFER)

Documentation

This function determines how the error buffer is shown.

It delegates the actual error content to the eval or op handler. Show error overlay in BUFFER if needed.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider-default-err-handler (&optional buffer)
  "This function determines how the error buffer is shown.
It delegates the actual error content to the eval or op handler.
Show error overlay in BUFFER if needed."
  (cond ((cider-nrepl-op-supported-p "analyze-last-stacktrace")
         (cider-default-err-op-handler buffer))
        ((cider-library-present-p "clojure.stacktrace")
         (cider-default-err-eval-handler))
        (t (cider-default-err-eval-print-handler))))