Bash++
Bash++ compiler internal documentation
InternalError.h
Go to the documentation of this file.
1
7#pragma once
8
9#include <stdexcept>
10
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 bpp::ErrorHandling
Definition InternalError.h:11
An exception thrown when an internal error occurs.
Definition InternalError.h:21
InternalError(const std::string &msg)
Definition InternalError.h:22