@@ -276,6 +276,10 @@ static const QErrorStringTable qerror_table[] = {
.error_fmt = QERR_INVALID_PARAMETER_COMBINATION,
.desc = "Invalid parameter combination",
},
+ {
+ .error_fmt = QERR_BASE_ID_NOT_FOUND,
+ .desc = "The base id %(base_id) has not been found",
+ },
{}
};
@@ -225,4 +225,7 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_INVALID_PARAMETER_COMBINATION \
"{ 'class': 'InvalidParameterCombination', 'data': {} }"
+#define QERR_BASE_ID_NOT_FOUND \
+ "{ 'class': 'BaseIdNotFound', 'data': { 'base_id': %s } }"
+
#endif /* QERROR_H */