Function: cider-ensure-op-supported

cider-ensure-op-supported is a byte-compiled function defined in cider-client.el.

This function is obsolete since 2.0.0; op support is now enforced automatically by the nREPL senders, so commands no longer need an explicit check.

Signature

(cider-ensure-op-supported OP &optional CONNECTION)

Documentation

Check for support of middleware op OP for CONNECTION.

Signal an error if it is not supported.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-client.el
(defun cider-ensure-op-supported (op &optional connection)
  "Check for support of middleware op OP for CONNECTION.
Signal an error if it is not supported."
  (unless (cider-nrepl-op-supported-p op connection)
    (user-error "`%s' requires the nREPL op \"%s\" (provided by cider-nrepl)" this-command op)))