Skip to content
Snippets Groups Projects
ParserException.h 355 B
Newer Older
#ifndef LIBWCCL_PARSER_PARSEREXCEPTION_H
#define LIBWCCL_PARSER_PARSEREXCEPTION_H
rk's avatar
rk committed

#include <string>

ilor's avatar
ilor committed
class ParserException //TODO derive from std::exception or wcclerror
rk's avatar
rk committed
{
public:
		ParserException(const std::string);

		//
		const std::string info() const { return this->msg; }

private:
	std::string msg;
};

#endif // LIBWCCL_PARSER_PARSEREXCEPTION_H