libvariant
 All Classes Namespaces Files Functions Enumerations Groups
Public Member Functions | List of all members
libvariant::SchemaError Class Reference

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.
 

Detailed Description

Error class to encapsulate an error with the schema.


The documentation for this class was generated from the following files: