jak-project/goalc/compiler/CompilerException.h
water111 71dda76e2b
Add some compiler features and documentation (#147)
* update doc

* add disassemble and type checking

* improve compiler error messages
2020-12-01 21:39:46 -05:00

9 lines
205 B
C++

#pragma once
#include <stdexcept>
class CompilerException : public std::runtime_error {
public:
CompilerException(const std::string& err) : std::runtime_error(err) {}
bool print_err_stack = true;
};