[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 07/10] Introduce QError
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH 07/10] Introduce QError |
Date: |
Wed, 18 Nov 2009 18:14:56 +0000 |
User-agent: |
Mutt/1.4.1i |
On Tue, Nov 17, 2009 at 05:43:54PM -0200, Luiz Capitulino wrote:
> 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
If we're going to collect these two, then also add in the function
name, since that's typically more useful than filename/line number
alone.
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
- [Qemu-devel] [PATCH 02/10] QString: Introduce qstring_append_chr(), (continued)
- [Qemu-devel] [PATCH 02/10] QString: Introduce qstring_append_chr(), Luiz Capitulino, 2009/11/17
- [Qemu-devel] [PATCH 03/10] QString: Introduce qstring_append_int(), Luiz Capitulino, 2009/11/17
- [Qemu-devel] [PATCH 04/10] QString: Introduce qstring_from_substr(), Luiz Capitulino, 2009/11/17
- [Qemu-devel] [PATCH 05/10] utests: Add qstring_append_chr() unit-test, Luiz Capitulino, 2009/11/17
- [Qemu-devel] [PATCH 06/10] utests: Add qstring_from_substr() unit-test, Luiz Capitulino, 2009/11/17
- [Qemu-devel] [PATCH 07/10] Introduce QError, Luiz Capitulino, 2009/11/17
- Re: [Qemu-devel] [PATCH 07/10] Introduce QError,
Daniel P. Berrange <=
[Qemu-devel] [PATCH 10/10] monitor: do_info_balloon(): use QError, Luiz Capitulino, 2009/11/17
[Qemu-devel] [PATCH 08/10] monitor: QError support, Luiz Capitulino, 2009/11/17