xref: /qemu/include/qapi/error-internal.h (revision 8714d366e7e29d3ca8cebc8504e18c4cd7b5cf48)
1 /*
2  * QEMU Error Objects - struct definition
3  *
4  * Copyright IBM, Corp. 2011
5  * Copyright (C) 2011-2015 Red Hat, Inc.
6  *
7  * Authors:
8  *  Anthony Liguori   <aliguori@us.ibm.com>
9  *  Markus Armbruster <armbru@redhat.com>,
10  *
11  * This work is licensed under the terms of the GNU LGPL, version 2.  See
12  * the COPYING.LIB file in the top-level directory.
13  */
14 
15 #ifndef QAPI_ERROR_INTERNAL_H
16 
17 struct Error
18 {
19     char *msg;
20     ErrorClass err_class;
21     const char *src, *func;
22     int line;
23     GString *hint;
24 };
25 
26 #endif
27