aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-11-18 23:05:32 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:20 -0600
commit357b6156f998c007a90419f34b24b3fc1d1d4b22 (patch)
treec8f119836b1165eb597ec417c58b2c8c0f517897 /qerror.h
parent8204a9180c5f456d30cbd29fddf734e97f7c74fa (diff)
QError: Add QERR_DEVICE_NOT_FOUND
New class for device not found errors. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qerror.h b/qerror.h
index 01703ee2b8..413acc6786 100644
--- a/qerror.h
+++ b/qerror.h
@@ -38,5 +38,7 @@ QError *qobject_to_qerror(const QObject *obj);
/*
* QError class list
*/
+#define QERR_DEVICE_NOT_FOUND \
+ "{ 'class': 'DeviceNotFound', 'data': { 'device': %s } }"
#endif /* QERROR_H */