@@ -197,6 +197,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "Too many open files",
},
{
+ .error_fmt = QERR_TOO_MANY_KEYS,
+ .desc = "Too many keys",
+ },
+ {
.error_fmt = QERR_UNDEFINED_ERROR,
.desc = "An undefined error has ocurred",
},
@@ -162,6 +162,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_TOO_MANY_FILES \
"{ 'class': 'TooManyFiles', 'data': {} }"
+#define QERR_TOO_MANY_KEYS \
+ "{ 'class': 'TooManyKeys', 'data': {} }"
+
#define QERR_UNDEFINED_ERROR \
"{ 'class': 'UndefinedError', 'data': {} }"