-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathw21_errors.h
More file actions
147 lines (106 loc) · 5.34 KB
/
w21_errors.h
File metadata and controls
147 lines (106 loc) · 5.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#ifndef ERRORS_H
#define ERRORS_H
#define E_W21_ERROR_MESSAGE_NOT_INITIALIZED 100
#define E_W21_UNABLE_TO_CATCH_GSOAP_ERROR 101
#define E_W21_UNABLE_TO_CREATE_CONFIG 102
#define E_W21_UNABLE_TO_ALLOC_GSOAP_INSTANCE 103
#define E_W21_REQUIRE_PATH_AND_FILENAME 200
#define E_W21_REQUIRE_PATH_AND_FILENAME_MSG "%s: Required path / file name"
#define E_W21_ERROR_OPENING_FILE 201
#define E_W21_ERROR_OPENING_FILE_MSG "Error on opening file %s"
#define E_W21_ERROR_ALLOC_W21_OBJECT_STRUCT 202
#define E_W21_ERROR_ALLOC_W21_OBJECT_STRUCT_MSG "Error alloc memory of object %s"
#define E_21_ERROR_IN_OBJECT_ALREADY_ALLOC 203
#define E_21_ERROR_IN_OBJECT_ALREADY_ALLOC_MSG "Unable to alloc memory of input object %s. Object %s is already alloc'd"
#define E_W21_NULL_OR_EMPTY_XML_STRING 204
#define E_W21_NULL_OR_EMPTY_XML_STRING_MSG "%s: Null or empty string"
#define E_W21_ERROR_CREATE_IN_BSON_OBJECT 300
#define E_W21_ERROR_OBJECT_NULL_OR_PARSER_ERROR 301
#define E_W21_ERROR_SET_UTF8_STRING_IN_BSON 302
#define E_W21_ERROR_BEGIN_BSON_ROOT_OBJECT 303
#define E_W21_ERROR_END_BSON_ROOT_OBJECT 304
#define E_W21_ERROR_COULD_NOT_BUILD_UTF8_STRING_ARRAY 310
#define E_W21_ERROR_COULD_NOT_ADD_UTF8_STRING_IN_ARRAY 311
#define E_W21_ERROR_UTF8_STRING_IN_ARRAY_NULL 312
#define E_W21_ERROR_UTF8_STRING_END_ARRAY 313
#define E_W21_ERROR_BSON_ALREADY_ALLOC 314
#define E_W21_ERROR_REFERENCE_IN_BSON_OBJECT 315
#define E_W21_ERROR_BSON_ALREADY_ALLOC_MSG "Unable to parse object %s. IN: BSON object alredy alloc'd"
#define E_W21_ERROR_DATE_TIME_NULLABLE 320
#define E_W21_ERROR_DATE_TIME 321
#define E_W21_ERROR_LONG64_NULLABLE 330
#define E_W21_ERROR_ENUM_NULLABLE 340
#define E_W21_ERROR_MEASURE_WITH_ENUM 350
#define E_W21_ERROR_MEASURE_UOM_ATTRIBUTE_WITH_ENUM 351
#define E_W21_ERROR_MEASURE_APPEND_DOUBLE 352
#define E_W21_ERROR_END_APPEND_DOUBLE 353
#define E_W21_ERROR_APPEND_ROOT_DEFAULT_ATTRIBUTES 354
#define E_W21_ERROR_BEGIN_ARRAY_OF_COMPLEX_OBJECT 360
#define E_W21_ERROR_UNEXPECTED_NULL_POINTER_IN_COMPLEX_OBJECT_ARRAY 361
#define E_W21_ERROR_UNABLE_TO_CREATE_COMPLEX_DOCUMENT_IN_ARRAY 362
#define E_W21_ERROR_UNABLE_TO_END_COMPLEX_DOCUMENT_IN_ARRAY 363
#define E_W21_ERROR_END_ARRAY_OF_COMPLEX_OBJECT 364
#define E_W21_ERROR_ADD_SINGLE_ATTRIBUTE_IN_ARRAY_OF_COMPLEX_OBJECT 365
#define E_W21_ERROR_ADD_UTF8_IN_ARRAY_OF_COMPLEX_OBJECT 366
#define E_W21_ERROR_ADD_TIME_NULLABLE_IN_ARRAY_OF_COMPLEX_OBJECT 367
#define E_W21_ERROR_COMPLEX_OBJECT_BEGIN 370
#define E_W21_ERROR_COMPLEX_OBJECT_END 371
#define E_W21_ERROR_STRING_MEASURE_BEGIN 380
#define E_W21_ERROR_STRING_MEASURE_APPEND 381
#define E_W21_ERROR_STRING_MEASURE_UOM_ATTRIBUTE 382
#define E_W21_ERROR_STRING_MEASURE_END 383
#define E_W21_ERROR_DOUBLE_NULLABLE 390
#define E_W21_ERROR_ADD_LONG64_NULLABLE_IN_DOCUMENT_ARRAY 391
#define E_W21_ERROR_ADD_ENUM_REQUIRED_IN_ARRAY_OBJECT 392
#define E_W21_ERROR_MEASURE 393
#define E_W21_ERROR_MEASURE_UOM_ATTRIBUTE_REQUIRED 394
#define E_W21_ERROR_BOOLEAN_NULLABLE 400
#define E_W21_ERROR_DOUBLE_REQUIRED 401
#define E_W21_ERROR_ADD_LONG64_REQUIRED 402
#define E_W21_ERROR_ADD_TIME_REQUIRED_IN_ARRAY_OF_COMPLEX_OBJECT 403
#define E_W21_ERROR_ENUM_REQUIRE 404
#define E_W21_ERROR_APPEND_TWO_ATTRIBUTES 405
#define E_W21_ERROR_SINGLE_ATTRIBUTE 406
#define E_W21_ERROR_BEGIN_COST_OBJECT 407
#define E_W21_ERROR_SET_COST_ATTRIBUTE 408
#define E_W21_ERROR_SET_COST_DOUBLE 409
#define E_W21_ERROR_END_COST_OBJECT 410
#define E_W21_ERROR_MEASURE_UOM_ATTRIBUTE_TYPE_D 411
#define E_W21_ERROR_MEASURE_NO_ENUM 412
#define E_W21_ERROR_BEGIN_BSON_COMMENTED_TIMESTAMP 413
#define E_W21_ERROR_ADD_DTIM_COMMENTED_TIMESTAMP 414
#define E_W21_ERROR_ADD_VALUE_COMMENTED_TIMESTAMP 415
#define E_W21_ERROR_END_BSON_COMMENTED_TIMESTAMP 416
#define E_W21_ERROR_SET_UTF8_ITEM 417
#define E_W21_ERROR_SET_ENUM_ATTR_REQUIRED 418
#define E_W21_ERROR_SET_TWO_ATTR_REQUIRED 419
#define E_W21_ERROR_COULD_NOT_BUILD_STRING_ARRAY_OF_ENUM 420
#define E_W21_ERROR_COULD_NOT_ADD_STRING_ENUM_ARRAY 421
#define E_W21_ERROR_STRING_ARRAY_ENUM_NULL 422
#define E_W21_ERROR_STRING_ENUM_ARRAY_END 423
#define E_W21_ERROR_UNITLESS_MEASURE 424
#define E_W21_ERROR_UNITLESS_MEASURE_APPEND_DOUBLE 425
#define E_W21_ERROR_END_APPEND_UNITLESS_DOUBLE 426
#define E_W21_ERROR_BOOLEAN_REQUIRED 427
#define E_W21_ERROR_BEGIN_ARRAY_OF_MEASURE_OBJECT 428
#define E_W21_ERROR_UNEXPECTED_NULL_POINTER_IN_ARRAY_OF_MEASURE_OBJECT 429
#define E_W21_ERROR_UNABLE_TO_CREATE_MEASURE_DOCUMENT_IN_ARRAY 430
#define E_W21_ERROR_ARRAY_OF_MEASURE_UOM_ATTRIBUTE_REQUIRED 431
#define E_W21_ERROR_ARRAY_OF_MEASURE_APPEND_DOUBLE 432
#define E_W21_ERROR_UNABLE_TO_END_MEASURE_DOCUMENT_IN_ARRAY 433
#define E_W21_ERROR_END_ARRAY_OF_MEASURE_OBJECT 434
#define E_W21_ERROR_SINGLE_ATTRIBUTE_ENUM_REQUIRED 435
#define E_W21_ERROR_SET_UTF8_STRING_IN_BSON_ALIAS 436
#define E_W21_ERROR_PARSE_AUTODETECT 437
#define E_21_ERROR_REGEX 600
#define E_21_ERROR_REGEX_NULL 601
#define E_21_ERROR_REGEX_UNITIALIZED 602
#define E_21_ERROR_REGEX_COMPILE 603
#define E_21_ERROR_REGEX_INITIALIZE_COMPILE 604
#define E_21_ERROR_ENABLE_INPUT_VALIDATOR 605
#define E_21_ERROR_ENABLE_INCONSISTENT_VALIDATOR_LIST_INITIALIZATION 606
#define E_21_ERROR_UNABLE_TO_PARSE_XML_OBJECT_TO_JSON_STRING 700
#define E_21_ERROR_UNABLE_TO_PARSE_XML_OBJECT_TO_JSON_STRING_NO_OBJECT 701
#define E_21_ERROR_UNABLE_TO_PARSE_XML_OBJECT_TO_BSON_SERIALIZED 702
#define E_21_ERROR_UNABLE_TO_PARSE_XML_OBJECT_TO_BSON_SERIALIZED_NO_OBJECT 703
#endif