From c2de0d98ba39e0a1a970d066fd19be786092f376 Mon Sep 17 00:00:00 2001
From: Michael Biebl Errors returned from the secret-agent manager. These errors may be returned from operations that could cause secrets to be
-requested (such as Describes errors that may result from operations involving a NMConnection
+ Describes errors that may result from operations involving a NMConnection
or its NMSettings. These errors may be returned directly from NMConnection and NMSetting
+ These errors may be returned directly from NMConnection and NMSetting
methods, or may be returned from D-Bus operations (eg on NMClient or
NMDevice), where they correspond to errors in the
"org.freedesktop.NetworkManager.Settings.Connection" namespace. the NMConnection object
+ the NMConnection object
did not contain the specified NMSetting object the NMConnection did not contain the
+ the NMConnection did not contain the
requested NMSetting property the NMConnection object is missing an
+ the NMConnection object is missing an
NMSetting which is required for its configuration. The error message will
always be prefixed with "<setting-name>: ", where "<setting-name>" is the
name of the setting that is missing. the NMConnection object contains an
+ the NMConnection object contains an
invalid or inappropriate NMSetting. The error message will always be
prefixed with "<setting-name>: ", where "<setting-name>" is the name of the
setting that is invalid. the NMConnection object is invalid
+ the NMConnection object is invalid
because it is missing a required property. The error message will always be
prefixed with "<setting-name>.<property-name>: ", where "<setting-name>" is
the name of the setting with the missing property, and "<property-name>" is
@@ -429,7 +429,7 @@ methods, or may be returned from D-Bus operations (eg on the NMConnection object is invalid
+ the NMConnection object is invalid
because a property has an invalid value. The error message will always be
prefixed with "<setting-name>.<property-name>: ", where "<setting-name>" is
the name of the setting with the invalid property, and "<property-name>" is
@@ -591,6 +591,13 @@ returned from D-Bus operations (where they correspond to errors in the
the version id did not match.
-GQuark
+GQuark
nm_agent_manager_error_quark ()
@@ -54,7 +54,7 @@
-GQuark
+GQuark
nm_connection_error_quark ()
@@ -62,7 +62,7 @@
-GQuark
+GQuark
nm_crypto_error_quark ()
@@ -70,7 +70,7 @@
-GQuark
+GQuark
nm_device_error_quark ()
@@ -78,7 +78,7 @@
-GQuark
+GQuark
nm_manager_error_quark ()
@@ -90,7 +90,7 @@
-GQuark
+GQuark
nm_secret_agent_error_quark ()
@@ -102,7 +102,7 @@
-GQuark
+GQuark
nm_settings_error_quark ()
@@ -118,7 +118,7 @@
+
-GQuark
+GQuark
nm_vpn_plugin_error_quark ()
@@ -184,7 +184,7 @@
Object Hierarchy
- GEnum
+
GEnum
├── NMAgentManagerError
├── NMConnectionError
├── NMCryptoError
@@ -202,7 +202,7 @@
Functions
@@ -214,25 +214,25 @@ nm_agent_manager_error_quark (voi
@@ -244,7 +244,7 @@ nm_manager_error_quark (void
@@ -256,7 +256,7 @@ nm_secret_agent_error_quark (void
@@ -274,7 +274,7 @@ nm_settings_error_quark (void
void
enum NMAgentManagerError
nm_client_activate_connection()), and correspond to D-Bus
+requested (such as nm_client_activate_connection()), and correspond to D-Bus
errors in the "org.freedesktop.NetworkManager.AgentManager" namespace.Members
@@ -349,9 +349,9 @@ errors in the "org.freedesktop.NetworkManager.AgentManager" namespace.
enum NMConnectionError
-
-
@@ -382,7 +382,7 @@ methods, or may be returned from D-Bus operations (eg on
-
@@ -398,7 +398,7 @@ methods, or may be returned from D-Bus operations (eg on
-
-
-
-
+
@@ -718,7 +725,7 @@ errors in that namespace.
+
+
+
+
Client APIs such as nm_client_activate_connection() will not see these error
+
Client APIs such as nm_client_activate_connection() will not see these error
codes; instead, the secret agent manager will translate them to the
corresponding NMAgentManagerError codes.