10#ifndef ERS_PARSE_ISSUE
11#define ERS_PARSE_ISSUE
23class ParseIssue:
public Issue {
41#define ERS_PARSE_ERROR(message,...) ers::ParseIssue(ERS_HERE,ers::error,__VA_ARGS__)
Source context for Issue.
const std::string & message() const
Message.
static const char *const OFFENDING_LINE_NUMBER_KEY
static const char *const OFFENDING_LINE_KEY
void file_name(std::string filename)
ParseIssue(const Context &c, severity_t s, const std::string &message)
ParseIssue(const Context &c, severity_t s)
void offending_line(const std::string &line)
void offending_line_number(int line)
virtual const char * get_class_name() const
Get key for class (used for serialisation)
ParseIssue(const Context &c, severity_t s, const std::string &message, const std::string &line)
static const char *const PARSE_ISSUE_CLASS_NAME
enum ers::_severity_t severity_t