载入中...
搜索中...
未找到
error.h 文件参考
#include "../rapidjson.h"

浏览该文件的源代码.

struct  rapidjson::ParseResult
 Result of parsing (wraps ParseErrorCode) 更多...
 

命名空间

namespace  rapidjson
 main RapidJSON namespace
 

宏定义

#define RAPIDJSON_ERROR_CHARTYPE   char
 Character type of error messages.
 
#define RAPIDJSON_ERROR_STRING(x)
 Macro for converting string literal to RAPIDJSON_ERROR_CHARTYPE[].
 

类型定义

typedef const RAPIDJSON_ERROR_CHARTYPE *(* rapidjson::GetParseErrorFunc) (ParseErrorCode)
 Function pointer type of GetParseError().
 
typedef const RAPIDJSON_ERROR_CHARTYPE *(* rapidjson::GetValidateErrorFunc) (ValidateErrorCode)
 Function pointer type of GetValidateError().
 
typedef const RAPIDJSON_ERROR_CHARTYPE *(* rapidjson::GetSchemaErrorFunc) (SchemaErrorCode)
 Function pointer type of GetSchemaError().
 
typedef const RAPIDJSON_ERROR_CHARTYPE *(* rapidjson::GetPointerParseErrorFunc) (PointerParseErrorCode)
 Function pointer type of GetPointerParseError().
 

枚举

enum  rapidjson::ParseErrorCode {
  rapidjson::kParseErrorNone = 0 , rapidjson::kParseErrorDocumentEmpty , rapidjson::kParseErrorDocumentRootNotSingular , rapidjson::kParseErrorValueInvalid ,
  rapidjson::kParseErrorObjectMissName , rapidjson::kParseErrorObjectMissColon , rapidjson::kParseErrorObjectMissCommaOrCurlyBracket , rapidjson::kParseErrorArrayMissCommaOrSquareBracket ,
  rapidjson::kParseErrorStringUnicodeEscapeInvalidHex , rapidjson::kParseErrorStringUnicodeSurrogateInvalid , rapidjson::kParseErrorStringEscapeInvalid , rapidjson::kParseErrorStringMissQuotationMark ,
  rapidjson::kParseErrorStringInvalidEncoding , rapidjson::kParseErrorNumberTooBig , rapidjson::kParseErrorNumberMissFraction , rapidjson::kParseErrorNumberMissExponent ,
  rapidjson::kParseErrorTermination , rapidjson::kParseErrorUnspecificSyntaxError
}
 Error code of parsing. 更多...
 
enum  rapidjson::ValidateErrorCode {
  rapidjson::kValidateErrors = -1 , rapidjson::kValidateErrorNone = 0 , rapidjson::kValidateErrorMultipleOf , rapidjson::kValidateErrorMaximum ,
  rapidjson::kValidateErrorExclusiveMaximum , rapidjson::kValidateErrorMinimum , rapidjson::kValidateErrorExclusiveMinimum , rapidjson::kValidateErrorMaxLength ,
  rapidjson::kValidateErrorMinLength , rapidjson::kValidateErrorPattern , rapidjson::kValidateErrorMaxItems , rapidjson::kValidateErrorMinItems ,
  rapidjson::kValidateErrorUniqueItems , rapidjson::kValidateErrorAdditionalItems , rapidjson::kValidateErrorMaxProperties , rapidjson::kValidateErrorMinProperties ,
  rapidjson::kValidateErrorRequired , rapidjson::kValidateErrorAdditionalProperties , rapidjson::kValidateErrorPatternProperties , rapidjson::kValidateErrorDependencies ,
  rapidjson::kValidateErrorEnum , rapidjson::kValidateErrorType , rapidjson::kValidateErrorOneOf , rapidjson::kValidateErrorOneOfMatch ,
  rapidjson::kValidateErrorAllOf , rapidjson::kValidateErrorAnyOf , rapidjson::kValidateErrorNot , rapidjson::kValidateErrorReadOnly ,
  rapidjson::kValidateErrorWriteOnly
}
 Error codes when validating. 更多...
 
enum  rapidjson::SchemaErrorCode {
  rapidjson::kSchemaErrorNone = 0 , rapidjson::kSchemaErrorStartUnknown , rapidjson::kSchemaErrorRefPlainName , rapidjson::kSchemaErrorRefInvalid ,
  rapidjson::kSchemaErrorRefPointerInvalid , rapidjson::kSchemaErrorRefUnknown , rapidjson::kSchemaErrorRefCyclical , rapidjson::kSchemaErrorRefNoRemoteProvider ,
  rapidjson::kSchemaErrorRefNoRemoteSchema , rapidjson::kSchemaErrorRegexInvalid , rapidjson::kSchemaErrorSpecUnknown , rapidjson::kSchemaErrorSpecUnsupported ,
  rapidjson::kSchemaErrorSpecIllegal , rapidjson::kSchemaErrorReadOnlyAndWriteOnly
}
 Error codes when validating. 更多...
 
enum  rapidjson::PointerParseErrorCode {
  rapidjson::kPointerParseErrorNone = 0 , rapidjson::kPointerParseErrorTokenMustBeginWithSolidus , rapidjson::kPointerParseErrorInvalidEscape , rapidjson::kPointerParseErrorInvalidPercentEncoding ,
  rapidjson::kPointerParseErrorCharacterMustPercentEncode
}
 Error code of JSON pointer parsing. 更多...