]> git.proxmox.com Git - qemu.git/commit
Introduce QError
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 19 Nov 2009 01:05:30 +0000 (23:05 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:20 +0000 (09:41 -0600)
commit9f9daf9a636c0e6ea435c93bfbccaf05e581eed9
tree2e8c0b5b0453f487cd3c0eab5cf48222284a1bc9
parent64084a03c375802150c5d1d0d6e72606f23553a7
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>
Makefile
qerror.c [new file with mode: 0644]
qerror.h [new file with mode: 0644]
qjson.c
qobject.h