jak-project/goalc/compiler/CompilerException.h

15 lines
329 B
C
Raw Permalink Normal View History

#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;
};
class DebugFileDeclareException : public std::exception {
public:
DebugFileDeclareException() : std::exception() {}
};