Co-authored-by: Andre Wagner <WagnerAndre@JohnDeere.com> Reviewed-on: https://192.168.5.48/andre/tyche/pulls/6
16 lines
307 B
C++
16 lines
307 B
C++
#ifndef TYCHE_BC_EXCEPTIONS_HH
|
|
#define TYCHE_BC_EXCEPTIONS_HH
|
|
|
|
#include <stdexcept>
|
|
|
|
namespace tyche::bc {
|
|
|
|
class BytecodeParsingError : public std::runtime_error {
|
|
public:
|
|
explicit BytecodeParsingError(std::string const& str) : std::runtime_error(str.c_str()) {}
|
|
};
|
|
|
|
}
|
|
|
|
#endif //TYCHE_BC_EXCEPTIONS_HH
|