aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-11-22 16:29:52 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-12-06 11:40:00 -0200
commit588988736634ad2aa356dafac78f88d1ea68b1a4 (patch)
tree29261839203dfc876efa8609e74b2b1805e101a5 /qerror.h
parent25e48c849a64d5ceb71814b4cd08e1341fa2e899 (diff)
downloadqemu-588988736634ad2aa356dafac78f88d1ea68b1a4.zip
qemu-588988736634ad2aa356dafac78f88d1ea68b1a4.tar.gz
qemu-588988736634ad2aa356dafac78f88d1ea68b1a4.tar.bz2
QError: Introduce QERR_IO_ERROR
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qerror.h b/qerror.h
index 161d654..1fee39d 100644
--- a/qerror.h
+++ b/qerror.h
@@ -126,6 +126,9 @@ QError *qobject_to_qerror(const QObject *obj);
#define QERR_INVALID_PASSWORD \
"{ 'class': 'InvalidPassword', 'data': {} }"
+#define QERR_IO_ERROR \
+ "{ 'class': 'IOError', 'data': {} }"
+
#define QERR_JSON_PARSING \
"{ 'class': 'JSONParsing', 'data': {} }"