Function: cider--shorten-error-message
cider--shorten-error-message is a byte-compiled function defined in
cider-eval.el.
Signature
(cider--shorten-error-message ERR)
Documentation
Removes from ERR the prefix matched by cider-clojure-compilation-regexp,
and the suffix matched by cider-module-info-regexp.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider--shorten-error-message (err)
"Removes from ERR the prefix matched by `cider-clojure-compilation-regexp',
and the suffix matched by `cider-module-info-regexp'."
(thread-last err
(replace-regexp-in-string cider-clojure-compilation-regexp
"")
(replace-regexp-in-string cider-module-info-regexp
"")
(string-trim)))