Lines Matching full:error
18 #include "error.h"
28 //! Maps error code of parsing into error message.
31 \param parseErrorCode Error code obtained in parsing.
32 \return the error message.
34 Using switch-case is safer for future modification of error codes.
38 case kParseErrorNone: return RAPIDJSON_ERROR_STRING("No error."); in GetParseError_En()
61 …ation: return RAPIDJSON_ERROR_STRING("Terminate parsing due to Handler error."); in GetParseError_En()
62 …arseErrorUnspecificSyntaxError: return RAPIDJSON_ERROR_STRING("Unspecific syntax error."); in GetParseError_En()
64 … default: return RAPIDJSON_ERROR_STRING("Unknown error."); in GetParseError_En()
68 //! Maps error code of validation into error message.
71 \param validateErrorCode Error code obtained from validator.
72 \return the error message.
74 Using switch-case is safer for future modification of error codes.
79 case kValidateErrorNone: return RAPIDJSON_ERROR_STRING("No error."); in GetValidateError_En()
115 … default: return RAPIDJSON_ERROR_STRING("Unknown error."); in GetValidateError_En()
119 //! Maps error code of schema document compilation into error message.
122 \param schemaErrorCode Error code obtained from compiling the schema document.
123 \return the error message.
125 Using switch-case is safer for future modification of error codes.
129 case kSchemaErrorNone: return RAPIDJSON_ERROR_STRING("No error."); in GetSchemaError_En()
145 … default: return RAPIDJSON_ERROR_STRING("Unknown error."); in GetSchemaError_En()
149 //! Maps error code of pointer parse into error message.
152 \param pointerParseErrorCode Error code obtained from pointer parse.
153 \return the error message.
155 Using switch-case is safer for future modification of error codes.
159 … case kPointerParseErrorNone: return RAPIDJSON_ERROR_STRING("No error."); in GetPointerParseError_En()
166 …default: return RAPIDJSON_ERROR_STRING("Unknown error."); in GetPointerParseError_En()