[PATCH 3/3] docs: message bus messages - describe generic error codes
Tom Gundersen <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
Describe the error codes given for invalid interface/method/signature. Signed-off-by: Tom Gundersen <[email protected]> --- doc/dbus-specification.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 11530d10..a3ec0f70 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -5218,7 +5218,15 @@ <title>Message Bus Messages</title> <para> The special message bus name <literal>org.freedesktop.DBus</literal> - responds to a number of additional messages. + responds to a number of additional messages. The message bus may return a + number of different error messages on failure, in particular, + <literal>org.freedesktop.DBus.Error.UnknownInterface</literal> if the + given interface is not known, + <literal>org.freedesktop.DBus.Error.UnknownMethod</literal> if the given + method is not known and + <literal>org.freedesktop.DBus.Error.InvalidArgs</literal> if the signature + is not as expected for the method. Individual methods may return further + error codes as indicated below. </para> <sect3 id="bus-messages-hello"> -- 2.12.2 _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus