15 #ifndef RAPIDJSON_ERROR_EN_H_
16 #define RAPIDJSON_ERROR_EN_H_
22 RAPIDJSON_DIAG_OFF(
switch-
enum)
23 RAPIDJSON_DIAG_OFF(covered-switch-default)
26 RAPIDJSON_NAMESPACE_BEGIN
37 switch (parseErrorCode) {
68 RAPIDJSON_NAMESPACE_END
74 #endif // RAPIDJSON_ERROR_EN_H_
@ kParseErrorUnspecificSyntaxError
Unspecific syntax error.
Definition: error.h:89
@ kParseErrorDocumentRootNotSingular
The document root must not follow by other values.
Definition: error.h:68
@ kParseErrorObjectMissCommaOrCurlyBracket
Missing a comma or '}' after an object member.
Definition: error.h:74
@ kParseErrorStringMissQuotationMark
Missing a closing quotation mark in string.
Definition: error.h:81
@ kParseErrorObjectMissName
Missing a name for object member.
Definition: error.h:72
@ kParseErrorStringInvalidEncoding
Invalid encoding in string.
Definition: error.h:82
ParseErrorCode
Error code of parsing.
Definition: error.h:64
@ kParseErrorStringUnicodeSurrogateInvalid
The surrogate pair in string is invalid.
Definition: error.h:79
#define RAPIDJSON_ERROR_STRING(x)
Macro for converting string literial to RAPIDJSON_ERROR_CHARTYPE[].
Definition: error.h:52
@ kParseErrorDocumentEmpty
The document is empty.
Definition: error.h:67
@ kParseErrorNumberTooBig
Number too big to be stored in double.
Definition: error.h:84
#define RAPIDJSON_ERROR_CHARTYPE
Character type of error messages.
Definition: error.h:39
@ kParseErrorTermination
Parsing was terminated.
Definition: error.h:88
@ kParseErrorArrayMissCommaOrSquareBracket
Missing a comma or ']' after an array element.
Definition: error.h:76
@ kParseErrorNumberMissFraction
Miss fraction part in number.
Definition: error.h:85
@ kParseErrorNumberMissExponent
Miss exponent in number.
Definition: error.h:86
@ kParseErrorNone
No error.
Definition: error.h:65
@ kParseErrorStringEscapeInvalid
Invalid escape character in string.
Definition: error.h:80
@ kParseErrorValueInvalid
Invalid value.
Definition: error.h:70
const RAPIDJSON_ERROR_CHARTYPE * GetParseError_En(ParseErrorCode parseErrorCode)
Maps error code of parsing into error message.
Definition: en.h:36
@ kParseErrorObjectMissColon
Missing a colon after a name of object member.
Definition: error.h:73
@ kParseErrorStringUnicodeEscapeInvalidHex
Incorrect hex digit after \u escape in string.
Definition: error.h:78