Bash++
Bash++ compiler internal documentation
internal_error.h
Go to the documentation of this file.
1
6#ifndef SRC_INTERNAL_ERROR_H_
7#define SRC_INTERNAL_ERROR_H_
8
9#include <stdexcept>
10#include <antlr4-runtime.h>
11
20struct internal_error : public std::runtime_error {
21 internal_error(const std::string& msg, antlr4::tree::ParseTree* location);
22 explicit internal_error(const std::string& msg);
23};
24
25#endif // SRC_INTERNAL_ERROR_H_
An exception thrown when an internal error occurs.
Definition internal_error.h:20