Callback function called when a coercion error occurs.
More...
#include <json_error_handler.h>
|
const char * | m_msgnam |
| The name of the field/expression being coerced to be used in error message if conversion failed. More...
|
|
Callback function called when a coercion error occurs.
It reports the error as ERROR
◆ JsonCoercionErrorHandler()
JsonCoercionErrorHandler::JsonCoercionErrorHandler |
( |
const char * |
msgnam | ) |
|
|
inlineexplicit |
◆ operator()()
void JsonCoercionErrorHandler::operator() |
( |
const char * |
target_type, |
|
|
int |
error_code |
|
) |
| const |
◆ m_msgnam
const char* JsonCoercionErrorHandler::m_msgnam |
|
private |
The name of the field/expression being coerced to be used in error message if conversion failed.
The documentation for this class was generated from the following files: