erc-error

erc-error is a compiled Lisp function in `erc.el'.

(erc-error &rest ARGS)

Pass ARGS to `format', and display the result as an error message.
If `debug-on-error' is set to non-nil, then throw a real error with this
message instead, to make debugging easier.