Function: dbus-method-error-internal

dbus-method-error-internal is a byte-compiled function defined in dbus.el.gz.

Signature

(dbus-method-error-internal BUS SERVICE SERIAL ERROR-NAME &rest ARGS)

Documentation

Return error message for message SERIAL on the D-Bus BUS.

ERROR-NAME must belong to the "org.freedesktop.DBus.Error" namespace. This is an internal function, it shall not be used outside dbus.el.

Source Code

;; Defined in /usr/src/emacs/lisp/net/dbus.el.gz
(defun dbus-method-error-internal (bus service serial error-name &rest args)
  "Return error message for message SERIAL on the D-Bus BUS.
ERROR-NAME must belong to the \"org.freedesktop.DBus.Error\" namespace.
This is an internal function, it shall not be used outside dbus.el."

  (or (featurep 'dbusbind)
      (signal 'dbus-error (list "Emacs not compiled with dbus support")))
  (or (memq bus '(:system :session :system-private :session-private))
      (stringp bus)
      (signal 'wrong-type-argument (list 'keywordp bus)))
  (or (stringp service)
      (signal 'wrong-type-argument (list 'stringp service)))
  (or (natnump serial)
      (signal 'wrong-type-argument (list 'natnump serial)))

  (apply #'dbus-message-internal dbus-message-type-error
	 bus service serial error-name args))