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