summaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qerror.h b/qerror.h
index 1fee39d5c9..688e700223 100644
--- a/qerror.h
+++ b/qerror.h
@@ -66,6 +66,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_COMMAND_NOT_FOUND \
"{ 'class': 'CommandNotFound', 'data': { 'name': %s } }"
+#define QERR_COMMAND_DISABLED \
+ "{ 'class': 'CommandDisabled', 'data': { 'name': %s } }"
+
#define QERR_DEVICE_ENCRYPTED \
"{ 'class': 'DeviceEncrypted', 'data': { 'device': %s } }"