1/* AUTOMATICALLY GENERATED, DO NOT MODIFY */
2
3/*
4 * Schema-defined QAPI types
5 *
6 * Copyright IBM, Corp. 2011
7 * Copyright (c) 2013-2018 Red Hat Inc.
8 *
9 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 * See the COPYING.LIB file in the top-level directory.
11 */
12
13#ifndef QAPI_TYPES_ERROR_H
14#define QAPI_TYPES_ERROR_H
15
16#include "qapi/qapi-builtin-types.h"
17
18typedef enum QapiErrorClass {
19 QAPI_ERROR_CLASS_GENERICERROR,
20 QAPI_ERROR_CLASS_COMMANDNOTFOUND,
21 QAPI_ERROR_CLASS_DEVICENOTACTIVE,
22 QAPI_ERROR_CLASS_DEVICENOTFOUND,
23 QAPI_ERROR_CLASS_KVMMISSINGCAP,
24 QAPI_ERROR_CLASS__MAX,
25} QapiErrorClass;
26
27#define QapiErrorClass_str(val) \
28 qapi_enum_lookup(&QapiErrorClass_lookup, (val))
29
30extern const QEnumLookup QapiErrorClass_lookup;
31
32#endif /* QAPI_TYPES_ERROR_H */
33