diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-02-19 18:06:18 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2010-03-16 17:45:34 +0100 |
commit | 07574baf7b714a10e35b716b0eb6ede197adfca7 (patch) | |
tree | 067cd2e4d488b472259861784a59147689aaab14 | |
parent | 1ae787184025b7e890a666e0041024a3d92529ce (diff) |
error: New QERR_DEVICE_NO_BUS
-rw-r--r-- | qerror.c | 4 | ||||
-rw-r--r-- | qerror.h | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -73,6 +73,10 @@ static const QErrorStringTable qerror_table[] = { .desc = "Device '%(device)' is not removable", }, { + .error_fmt = QERR_DEVICE_NO_BUS, + .desc = "Device '%(device)' has no child bus", + }, + { .error_fmt = QERR_FD_NOT_FOUND, .desc = "File descriptor named '%(name)' not found", }, @@ -66,6 +66,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_DEVICE_NOT_REMOVABLE \ "{ 'class': 'DeviceNotRemovable', 'data': { 'device': %s } }" +#define QERR_DEVICE_NO_BUS \ + "{ 'class': 'DeviceNoBus', 'data': { 'device': %s } }" + #define QERR_FD_NOT_FOUND \ "{ 'class': 'FdNotFound', 'data': { 'name': %s } }" |