Bash++
Bash++ compiler internal documentation
InternalError.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <stdexcept>
9
10namespace bpp {
11namespace ErrorHandling {
12
21struct InternalError : public std::runtime_error {
22 explicit InternalError(const std::string& msg)
23 : std::runtime_error(msg + "\nYou've found a bug! Please report it.") {}
24
25};
26
27} // namespace ErrorHandling
28} // namespace bpp
Definition bash_case.cpp:8
An exception thrown when an internal error occurs.
Definition InternalError.h:21
InternalError(const std::string &msg)
Definition InternalError.h:22