Function: ghub--handle-response-error

ghub--handle-response-error is a byte-compiled function defined in ghub.el.

Signature

(ghub--handle-response-error STATUS PAYLOAD REQ)

Source Code

;; Defined in ~/.emacs.d/elpa/ghub-20260401.1239/ghub.el
(defun ghub--handle-response-error (status payload req)
  (if-let ((err (plist-get status :error)))
      (if-let ((noerror (ghub--req-noerror req)))
          (if (eq noerror 'return)
              payload
            (setcdr (last err) (list payload))
            nil)
        (ghub--signal-error err payload req))
    payload))