signal
#signal #emacs28.2 #eval.chttps://github.com/emacs-mirror/emacs/blob/emacs-28.2/src/eval.c#L1727-L1749`DEFUN ("signal", Fsignal, Ssignal, 2, 2, 0,``doc: /* Signal an error. Args are ERROR-SYMBOL and associated DATA.`
(defun error (&rest args)
"Signal an error, making a message by passing ARGS to `format-message'.
Errors cause entry to the debugger when `debug-on-error' is non-nil.
This can be overridden by `debug-ignored-errors'.
To signal with MESSAGE without interpreting format characters
like `%', `\\=`' and `\\='', use (error \"%s\" MESSAGE).
In Emacs, the convention is that error messages start with a capital
letter but *do not* end with a period. Please follow this convention
for the sake of consistency."
(declare (advertised-calling-convention (string &rest args) "23.1"))
(signal 'error (list (apply #'format-message args))))