summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-15 13:51:39 -0400
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-15 13:51:39 -0400
commit5d9b814f90e8db92d13874d276187213d3feabfd (patch)
tree04acb862545d9db37dd59761b64610907599c53e /extensions
parent4c5405c481b24787830136c239fcc93d01b0b35e (diff)
IRC_Command: prevent user of sending commands for which we have proper API
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Connection_Interface_IRC_Command1.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/Connection_Interface_IRC_Command1.xml b/extensions/Connection_Interface_IRC_Command1.xml
index 0d75a4d..2166fc9 100644
--- a/extensions/Connection_Interface_IRC_Command1.xml
+++ b/extensions/Connection_Interface_IRC_Command1.xml
@@ -39,6 +39,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<tp:possible-errors>
<tp:error name="org.freedesktop.Telepathy.Error.Disconnected"/>
<tp:error name="org.freedesktop.Telepathy.Error.NetworkError"/>
+ <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument">
+ <tp:docstring>
+ The connection manager MAY raise this error for commands that
+ have a more appropriate D-Bus API.
+ </tp:docstring>
+ </tp:error>
</tp:possible-errors>
</method>
<tp:docstring>