NetworkManager/introspection/vpn-errors.xml
Jiří Klimeš 282b9df60d vpn: fix VPN plugin D-Bus errors
The errors were documented as org.freedesktop.NetworkManager.VPN.Error.*,
but the actual values were org.freedesktop.NetworkManager.VPN.Plugin.*

Also update the errors documentation.
2013-09-27 13:26:29 +02:00

61 lines
2.1 KiB
XML

<?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>