2012-07-18 03:36:08 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The format for each error message is:
|
|
|
|
*
|
|
|
|
* MSG_DEF(<SYMBOLIC_NAME>, <ARGUMENT_COUNT>, <FORMAT_STRING>)
|
|
|
|
*
|
|
|
|
* where
|
|
|
|
*
|
|
|
|
* <SYMBOLIC_NAME> is a legal C++ identifer that will be used in the source.
|
|
|
|
*
|
|
|
|
* <ARGUMENT_COUNT> is an integer literal specifying the total number of
|
|
|
|
* replaceable arguments in the following format string.
|
|
|
|
*
|
|
|
|
* <FORMAT_STRING> is a string literal, containing <ARGUMENT_COUNT> sequences
|
|
|
|
* {X} where X is an integer representing the argument number that will
|
|
|
|
* be replaced with a string value when the error is reported.
|
|
|
|
*/
|
|
|
|
|
2012-07-25 19:31:26 -07:00
|
|
|
MSG_DEF(MSG_INVALID_ENUM_VALUE, 2, "Value '{0}' is not a valid value for enumeration {1}.")
|
2012-07-18 03:36:08 -07:00
|
|
|
MSG_DEF(MSG_MISSING_ARGUMENTS, 1, "Not enough arguments to {0}.")
|
2012-07-25 19:31:26 -07:00
|
|
|
MSG_DEF(MSG_NOT_OBJECT, 0, "Value not an object.")
|
|
|
|
MSG_DEF(MSG_DOES_NOT_IMPLEMENT_INTERFACE, 1, "Value does not implement interface {0}.")
|
|
|
|
MSG_DEF(MSG_NOT_IN_UNION, 1, "Value could not be converted to any of: {0}.")
|
2012-08-04 00:44:00 -07:00
|
|
|
MSG_DEF(MSG_ILLEGAL_CONSTRUCTOR, 0, "Illegal constructor.")
|