2009-11-19 01:05:30 +00:00
|
|
|
/*
|
2010-05-12 19:34:42 +00:00
|
|
|
* QError Module
|
2009-11-19 01:05:30 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Red Hat Inc.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Luiz Capitulino <lcapitulino@redhat.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
|
|
|
|
* See the COPYING.LIB file in the top-level directory.
|
|
|
|
*/
|
|
|
|
#ifndef QERROR_H
|
|
|
|
#define QERROR_H
|
|
|
|
|
|
|
|
/*
|
2015-03-17 13:29:59 +00:00
|
|
|
* These macros will go away, please don't use in new code, and do not
|
|
|
|
* add new ones!
|
2009-11-19 01:05:30 +00:00
|
|
|
*/
|
2012-01-18 14:40:52 +00:00
|
|
|
|
2010-03-25 16:22:33 +00:00
|
|
|
#define QERR_INVALID_PARAMETER_VALUE \
|
2015-03-17 10:54:50 +00:00
|
|
|
"Parameter '%s' expects %s"
|
2010-03-25 16:22:33 +00:00
|
|
|
|
2011-11-22 18:29:52 +00:00
|
|
|
#define QERR_IO_ERROR \
|
2015-03-17 10:54:50 +00:00
|
|
|
"An IO error has occurred"
|
2011-11-22 18:29:52 +00:00
|
|
|
|
2009-11-27 00:58:57 +00:00
|
|
|
#define QERR_MISSING_PARAMETER \
|
2015-03-17 10:54:50 +00:00
|
|
|
"Parameter '%s' is missing"
|
2009-11-27 00:58:57 +00:00
|
|
|
|
2011-12-18 16:05:08 +00:00
|
|
|
#define QERR_PROPERTY_VALUE_OUT_OF_RANGE \
|
2015-03-17 10:54:50 +00:00
|
|
|
"Property %s.%s doesn't take value %" PRId64 " (minimum: %" PRId64 ", maximum: %" PRId64 ")"
|
2011-12-18 16:05:08 +00:00
|
|
|
|
2012-01-04 17:38:22 +00:00
|
|
|
#define QERR_QGA_COMMAND_FAILED \
|
2015-03-17 10:54:50 +00:00
|
|
|
"Guest agent command failed, error was '%s'"
|
2012-01-04 17:38:22 +00:00
|
|
|
|
|
|
|
#define QERR_UNSUPPORTED \
|
2015-03-17 10:54:50 +00:00
|
|
|
"this feature or command is not currently supported"
|
2012-01-04 17:38:22 +00:00
|
|
|
|
2009-11-19 01:05:30 +00:00
|
|
|
#endif /* QERROR_H */
|