From 120ac6da39ef1d3abb57f77f1e77de10bf58f194 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 5 Mar 2012 16:07:31 +0100 Subject: 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. --- include/ModemManager-errors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ModemManager-errors.h') 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; /** -- cgit v1.2.3-70-g09d2