The default error handler to be used when parsing JSON schemas and validating JSON objects using a JSON schema inside the MySQL server.
More...
#include <json_error_handler.h>
The default error handler to be used when parsing JSON schemas and validating JSON objects using a JSON schema inside the MySQL server.
◆ JsonSchemaDefaultErrorHandler()
JsonSchemaDefaultErrorHandler::JsonSchemaDefaultErrorHandler |
( |
const char * |
function_name | ) |
|
|
inlineexplicit |
◆ HandleStdExceptions()
void JsonSchemaDefaultErrorHandler::HandleStdExceptions |
( |
| ) |
const |
|
overridevirtual |
◆ InvalidJsonText()
void JsonSchemaDefaultErrorHandler::InvalidJsonText |
( |
size_t |
arg_no, |
|
|
const char * |
wrong_string, |
|
|
size_t |
offset |
|
) |
| const |
|
overridevirtual |
◆ InvalidJsonType()
void JsonSchemaDefaultErrorHandler::InvalidJsonType |
( |
| ) |
const |
|
overridevirtual |
◆ NotSupported()
void JsonSchemaDefaultErrorHandler::NotSupported |
( |
| ) |
const |
|
overridevirtual |
Called if a schema reference is encountered in the JSON document as MySQL does not support such constructs.
Implements JsonSchemaErrorHandler.
◆ m_calling_function_name
const char* JsonSchemaDefaultErrorHandler::m_calling_function_name |
|
private |
Used for error reporting and holds the name of the function.
The documentation for this class was generated from the following files: