From 575cdb74110e7e2a4cc3050ddd30230044f6ebd0 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 23 Oct 2023 10:37:49 +0000 Subject: api,errors: add generic MM_CORE_ERROR_TIMEOUT error Will be used to report operation timeout errors. --- include/ModemManager-errors.h | 2 ++ 1 file changed, 2 insertions(+) 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; /** -- cgit v1.2.3-70-g09d2