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