Detailed Description
The SchemaErrorLogger captures errors while parsing the schema.
The SchemaErrorLogger allows schema parsing errors to be logged. It prepends the error with the value of the JsonPointer so users have a decent idea of where the error occured in the JSON document.
Constructor & Destructor Documentation
ola::web::SchemaErrorLogger::SchemaErrorLogger |
( |
JsonPointer * |
pointer | ) |
|
|
inlineexplicit |
Member Function Documentation
std::string ola::web::SchemaErrorLogger::ErrorString |
( |
| ) |
const |
Return the first error.
- Returns
- The first error, or the empty string if no error was reported.
The documentation for this class was generated from the following files: