[Telepathy-commits] [telepathy-spec/master] Disconnected error: may be used to represent Connection_Status_Reason_None

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Jan 19 09:16:18 PST 2009


---
 spec/errors.xml |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/spec/errors.xml b/spec/errors.xml
index 679e3f4..ed48c5e 100644
--- a/spec/errors.xml
+++ b/spec/errors.xml
@@ -35,7 +35,17 @@
 
   <tp:error name="Disconnected">
     <tp:docstring>
-    The connection is not currently connected and cannot be used.
+      The connection is not currently connected and cannot be used.
+      This error may also be raised when operations are performed on a
+      Connection for which
+      <tp:dbus-ref namespace="org.freedesktop.Telepathy.Connection">StatusChanged</tp:dbus-ref>
+      has signalled status Disconnected for reason None.
+
+      <tp:rationale>
+        The second usage corresponds to None in the
+        <tp:type>Connection_Status_Reason</tp:type> enum; if a better reason
+        is available, the corresponding error should be used instead.
+      </tp:rationale>
     </tp:docstring>
   </tp:error>
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list