]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
spec: ERROR takes an optional explanation in both directions
authorSimon McVittie <smcv@collabora.com>
Mon, 11 Dec 2017 17:47:56 +0000 (17:47 +0000)
committerSimon McVittie <smcv@collabora.com>
Thu, 11 Jan 2018 18:24:53 +0000 (18:24 +0000)
The examples don't include an explanation, but the reference
implementation always sends the human-readable explanation, in both
directions.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104224

doc/dbus-specification.xml

index 5884c02010d8a433fbe5a170fead368c09707921..4dacf1bd3472f9cba9aa9f4d60cea32af2a6645d 100644 (file)
           <listitem><para>REJECTED &lt;space-separated list of mechanism names&gt;</para></listitem>
           <listitem><para>OK &lt;GUID in hex&gt;</para></listitem>
           <listitem><para>DATA &lt;data in hex encoding&gt;</para></listitem>
-          <listitem><para>ERROR</para></listitem>
+          <listitem><para>ERROR [human-readable error explanation]</para></listitem>
           <listitem><para>AGREE_UNIX_FD</para></listitem>
         </itemizedlist>
       </para>