Function: cider--no-repls-user-error

cider--no-repls-user-error is a byte-compiled function defined in cider-connection.el.

Signature

(cider--no-repls-user-error TYPE)

Documentation

Throw "No REPL" user error customized for TYPE.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-connection.el
;;; Current/other REPLs

(defun cider--no-repls-user-error (type)
  "Throw \"No REPL\" user error customized for TYPE."
  (let ((type (cond
               ((or (eq type 'multi) (eq type 'any))
                "clj or cljs")
               ((listp type)
                (mapconcat #'identity type " or "))
               (type))))
    (user-error "No %s REPLs in current session \"%s\""
                type (car (sesman-current-session 'CIDER)))))