aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-10-23 10:37:49 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-10-26 10:56:30 +0000
commit575cdb74110e7e2a4cc3050ddd30230044f6ebd0 (patch)
treec4366aaad6338808b85413c88ce0380497aaeebb
parentf730238a92ad11f67a732569afc26675fc8dc13f (diff)
api,errors: add generic MM_CORE_ERROR_TIMEOUT error
Will be used to report operation timeout errors.
-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 43b239c5..3fcab895 100644
--- a/include/ModemManager-errors.h
+++ b/include/ModemManager-errors.h
@@ -103,6 +103,7 @@
* @MM_CORE_ERROR_EXISTS: Item already exists.
* @MM_CORE_ERROR_WRONG_SIM_STATE: Operation cannot be executed in the current SIM state. Since 1.20.
* @MM_CORE_ERROR_RESET_AND_RETRY: Operation cannot yet be performed, reset the retry count and retry later. Since 1.22.
+ * @MM_CORE_ERROR_TIMEOUT: Operation timed out. Since 1.24.
*
* Common errors that may be reported by ModemManager.
*
@@ -125,6 +126,7 @@ typedef enum { /*< underscore_name=mm_core_error >*/
MM_CORE_ERROR_EXISTS = 13, /*< nick=Exists >*/
MM_CORE_ERROR_WRONG_SIM_STATE = 14, /*< nick=WrongSimState >*/
MM_CORE_ERROR_RESET_AND_RETRY = 15, /*< nick=ResetRetry >*/
+ MM_CORE_ERROR_TIMEOUT = 16, /*< nick=Timeout >*/
} MMCoreError;
/**