aboutsummaryrefslogtreecommitdiff
path: root/qobject.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-11-18 23:05:30 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:20 -0600
commit9f9daf9a636c0e6ea435c93bfbccaf05e581eed9 (patch)
tree2e8c0b5b0453f487cd3c0eab5cf48222284a1bc9 /qobject.h
parent64084a03c375802150c5d1d0d6e72606f23553a7 (diff)
Introduce QError
QError is a high-level data type which represents an exception in QEMU, it stores the following error information: - class Error class name (eg. "ServiceUnavailable") - description A detailed error description, which can contain references to run-time error data - filename The file name of where the error occurred - line number The exact line number of the error - function The function name of where the error occurred - run-time data Any run-time error data Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qobject.h')
-rw-r--r--qobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qobject.h b/qobject.h
index 2270ec1d73..07de211ef0 100644
--- a/qobject.h
+++ b/qobject.h
@@ -43,6 +43,7 @@ typedef enum {
QTYPE_QLIST,
QTYPE_QFLOAT,
QTYPE_QBOOL,
+ QTYPE_QERROR,
} qtype_code;
struct QObject;