Result class of a schema validation. More...
#include <Variant/Schema.h>
Public Member Functions | |
| void | AddError (const ValidationError &err) |
| Add a validation error to the result. | |
| void | AddSchemaError (const SchemaError &err) |
| Add a schema error to the result. | |
| bool | Error () const |
| True if any error occured. | |
| bool | ValidationErrors () const |
| True if a validation error occured. | |
| bool | SchemaErrors () const |
| True if a error occured with the schema. | |
|
const std::vector < ValidationError > & | GetErrors () const |
| const std::vector< SchemaError > & | GetSchemaErrors () const |
| std::string | PrettyPrintMessage () const |
| Pritty print any error messages to a string. | |
| void | PrettyPrintMessage (std::ostream &os, unsigned indent=0) const |
| Pritty print any error messages to the std::ostream. | |
Result class of a schema validation.
1.8.7