Consider using UnknownInterface, UnknownObject D-Bus errors where appropriate
When GDBus was first written, the D-Bus reference implementation only defined UnknownMethod
. Since then, UnknownInterface
and UnknownObject
were introduced. GDBus could use those, where appropriate.
(For historical reasons and because nobody ever got round to improving this, the vocabulary of well-known errors only exists in implementations and not in https://dbus.freedesktop.org/doc/dbus-specification.html; the canonical version is <dbus/dbus-protocol.h>
in the reference implementation dbus
.)