aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-errors.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-05 16:07:31 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:53:20 +0100
commit120ac6da39ef1d3abb57f77f1e77de10bf58f194 (patch)
treec8396a6497e768c7e10f02e468493295115dd574 /include/ModemManager-errors.h
parent6e753996293bc0c397b896f7db5fad328237adc5 (diff)
api,errors: new `MM_CORE_ERROR_RETRY'
Lets operations specify that they cannot be run currently, but that the caller may retry later. Of course, it depends on the caller to really honour the retry-later suggestion.
Diffstat (limited to 'include/ModemManager-errors.h')
-rw-r--r--include/ModemManager-errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ModemManager-errors.h b/include/ModemManager-errors.h
index 16f103d1..3651f19d 100644
--- a/include/ModemManager-errors.h
+++ b/include/ModemManager-errors.h
@@ -39,6 +39,7 @@
* @MM_CORE_ERROR_CONNECTED: Operation cannot be executed while being connected.
* @MM_CORE_ERROR_TOO_MANY: Too many items.
* @MM_CORE_ERROR_NOT_FOUND: Item not found.
+ * @MM_CORE_ERROR_RETRY: Operation cannot yet be performed, retry later.
*
* Common errors that may be reported by ModemManager.
*/
@@ -55,6 +56,7 @@ typedef enum { /*< underscore_name=mm_core_error >*/
MM_CORE_ERROR_CONNECTED = 9,
MM_CORE_ERROR_TOO_MANY = 10,
MM_CORE_ERROR_NOT_FOUND = 11,
+ MM_CORE_ERROR_RETRY = 12,
} MMCoreError;
/**