diff options
-rw-r--r-- | include/ModemManager-errors.h | 2 | ||||
-rw-r--r-- | libmm-common/mm-errors-quarks.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/ModemManager-errors.h b/include/ModemManager-errors.h index d6900298..5a5b9c8a 100644 --- a/include/ModemManager-errors.h +++ b/include/ModemManager-errors.h @@ -36,6 +36,7 @@ * @MM_CORE_ERROR_INVALID_ARGS: Invalid arguments given. * @MM_CORE_ERROR_IN_PROGRESS: Operation is already in progress. * @MM_CORE_ERROR_WRONG_STATE: Operation cannot be executed in the current state. + * @MM_CORE_ERROR_CONNECTED: Operation cannot be executed while being connected. * * Common errors that may be reported by ModemManager. */ @@ -49,6 +50,7 @@ typedef enum { /*< underscore_name=mm_core_error >*/ MM_CORE_ERROR_INVALID_ARGS = 6, MM_CORE_ERROR_IN_PROGRESS = 7, MM_CORE_ERROR_WRONG_STATE = 8, + MM_CORE_ERROR_CONNECTED = 9, } MMCoreError; /** diff --git a/libmm-common/mm-errors-quarks.c b/libmm-common/mm-errors-quarks.c index 07cbfc7b..edd362ef 100644 --- a/libmm-common/mm-errors-quarks.c +++ b/libmm-common/mm-errors-quarks.c @@ -36,6 +36,7 @@ static const GDBusErrorEntry mm_core_error_entries[] = { { MM_CORE_ERROR_INVALID_ARGS, ERROR_PREFIX "InvalidArgs" }, { MM_CORE_ERROR_IN_PROGRESS, ERROR_PREFIX "InProgress" }, { MM_CORE_ERROR_WRONG_STATE, ERROR_PREFIX "WrongState" }, + { MM_CORE_ERROR_CONNECTED, ERROR_PREFIX "Connected" }, }; #undef ERROR_PREFIX |