dbus: use the annotations for documentation
[NetworkManager.git] / introspection / vpn-errors.xml
1 <?xml version="1.0" ?>
2 <tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
3     namespace="org.freedesktop.NetworkManager.VPN.Error">
4   <tp:error name="General">
5     <annotation name="org.gtk.GDBus.DocString" value="General failure without further details." />
6   </tp:error>
7   <tp:error name="StartingInProgress">
8     <annotation name="org.gtk.GDBus.DocString" value="
9       The plugin is already starting, and another connect request was received.
10     " />
11   </tp:error>
12   <tp:error name="AlreadyStarted">
13     <annotation name="org.gtk.GDBus.DocString" value="
14       The plugin is already connected, and another connect request was received.
15     " />
16   </tp:error>
17   <tp:error name="StoppingInProgress">
18     <annotation name="org.gtk.GDBus.DocString" value="
19       The plugin is already stopping, and another stop request was received.
20     " />
21   </tp:error>
22   <tp:error name="AlreadyStopped">
23     <annotation name="org.gtk.GDBus.DocString" value="
24       The plugin is already stopped, and another disconnect request was received.
25     " />
26   </tp:error>
27   <tp:error name="WrongState">
28     <annotation name="org.gtk.GDBus.DocString" value="
29       The request could not be processed because the VPN plugin is in the wrong
30       state for this type of request.
31     " />
32   </tp:error>
33   <tp:error name="BadArguments">
34     <annotation name="org.gtk.GDBus.DocString" value="
35       The request could not be processed because it contained malformed
36       arguments, or arguments of unexpected type. It usually means that one of
37       the VPN setting data items or secrets was not of the expected type (i.e.
38       int, string, bool, etc).
39     " />
40   </tp:error>
41   <tp:error name="LaunchFailed">
42     <annotation name="org.gtk.GDBus.DocString" value="
43       A binary providing the service failed to launch.
44     " />
45   </tp:error>
46   <tp:error name="ConnectionInvalid">
47     <annotation name="org.gtk.GDBus.DocString" value="
48       The request could not be processed because the connection was invalid. It
49       usually means that the connection's VPN setting was missing some required
50       data item or secret.
51     " />
52   </tp:error>
53   <tp:error name="InteractiveNotSupported">
54     <annotation name="org.gtk.GDBus.DocString" value="
55       The request could not be processed because the plugin does not support
56       interactive operations, such as ConnectInteractive() or NewSecrets().
57     " />
58   </tp:error>
59 </tp:errors>
60