Error class to encapsulate an error with the schema. More...
#include <Variant/Schema.h>
Public Member Functions | |
| SchemaError (const std::string &m, const Path &spath) | |
| const std::string & | GetMessage () const |
| Error message. | |
| const Path & | GetSchemaPath () const |
| Path in the schema where the error occured. | |
| std::string | GetSchemaPathStr () const |
| String version of the path. | |
| std::string | PrettyPrintMessage () const |
| Pretty printed string of the schema error. | |
| void | PrettyPrintMessage (std::ostream &os, unsigned indent=0) const |
| Print a pretty printed version of this error to the std::ostream. | |
Error class to encapsulate an error with the schema.
1.8.7