Function: nntp-report

nntp-report is a byte-compiled function defined in nntp.el.gz.

Signature

(nntp-report &rest ARGS)

Documentation

Report an error from the nntp backend. The first string in ARGS can be a format string. For some commands, the failed command may be retried once before actually displaying the error report.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nntp.el.gz
(defun nntp-report (&rest args)
  "Report an error from the nntp backend.  The first string in ARGS
can be a format string.  For some commands, the failed command may be
retried once before actually displaying the error report."
  (if nntp--report-1
      (progn
        ;; Throw out to nntp-with-open-group-error so that the connection may
        ;; be restored and the command retried."
        (when nntp-record-commands
          (nntp-record-command "*** CONNECTION LOST ***"))
        (throw 'nntp-with-open-group-error t))

    (when nntp-record-commands
      (nntp-record-command "*** CALLED nntp-report ***"))

    (nnheader-report 'nntp args)

    (apply #'error args)))