16 lines
209 B
C++
16 lines
209 B
C++
#pragma once
|
|
|
|
#include "lexer.h"
|
|
|
|
#include <string>
|
|
|
|
class Exception : public std::exception {
|
|
private:
|
|
std::string cause;
|
|
|
|
public:
|
|
Exception(const std::string &msg);
|
|
|
|
const char* what() const noexcept;
|
|
};
|