1/*
2 Copyright(C) 2011 Kentoku SHIBA
3 Copyright(C) 2014-2015 Kouhei Sutou <kou@clear-code.com>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18*/
19
20#ifndef MRN_ERR_H_
21#define MRN_ERR_H_
22
23#define ER_MRN_INVALID_TABLE_PARAM_NUM 16501
24#define ER_MRN_INVALID_TABLE_PARAM_STR "The table parameter '%-.64s' is invalid"
25#define ER_MRN_CHARSET_NOT_SUPPORT_NUM 16502
26#define ER_MRN_CHARSET_NOT_SUPPORT_STR "The character set '%s[%s]' is not supported by groonga"
27#define ER_MRN_GEOMETRY_NOT_SUPPORT_NUM 16503
28#define ER_MRN_GEOMETRY_NOT_SUPPORT_STR "This geometry type is not supported. Groonga is supported point only"
29#define ER_MRN_ERROR_FROM_GROONGA_NUM 16504
30#define ER_MRN_ERROR_FROM_GROONGA_STR "Error from Groonga [%s]"
31#define ER_MRN_INVALID_NULL_VALUE_NUM 16505
32#define ER_MRN_INVALID_NULL_VALUE_STR "NULL value can't be used for %s"
33#define ER_MRN_UNSUPPORTED_COLUMN_FLAG_NUM 16506
34#define ER_MRN_UNSUPPORTED_COLUMN_FLAG_STR \
35 "The column flag '%-.64s' is unsupported. It is ignored"
36#define ER_MRN_INVALID_COLUMN_FLAG_NUM 16507
37#define ER_MRN_INVALID_COLUMN_FLAG_STR \
38 "The column flag '%-.64s' is invalid. It is ignored"
39#define ER_MRN_INVALID_INDEX_FLAG_NUM 16508
40#define ER_MRN_INVALID_INDEX_FLAG_STR \
41 "The index flag '%-.64s' is invalid. It is ignored"
42#define ER_MRN_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN_NUM 16509
43#define ER_MRN_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN_STR \
44 "Index for virtual generated column is not supported: %s"
45
46#endif /* MRN_ERR_H_ */
47