Function: hypb:error

hypb:error is a byte-compiled function defined in hypb.el.

Signature

(hypb:error &rest ARGS)

Documentation

Signal an error typically to be caught by hyperbole.

The error message is formatted passing the rest of the ARGS to the format function.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:error (&rest args)
  "Signal an error typically to be caught by `hyperbole'.
The error message is formatted passing the rest of the ARGS to
the `format' function."
  (let ((msg (if (< (length args) 2)
		 (car args)
	       (apply 'format (cons (car args)
				    (mapcar #'hypb:format-quote (cdr args)))))))
    (put 'error 'error-message msg)
    (error msg)))