Bash++
Bash++ compiler internal documentation
Classes | Namespaces | Macros
InternalError.h File Reference
#include <stdexcept>
Include dependency graph for InternalError.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bpp::ErrorHandling::InternalError
 An exception thrown when an internal error occurs. More...
 

Namespaces

namespace  bpp
 
namespace  bpp::ErrorHandling
 

Macros

#define bpp_assert(expr, msg)
 

Macro Definition Documentation

◆ bpp_assert

#define bpp_assert (   expr,
  msg 
)
Value:
do { \
if (!(expr)) { \
throw bpp::ErrorHandling::InternalError(msg, __FILE__, __LINE__); \
} \
} while (false)
An exception thrown when an internal error occurs.
Definition InternalError.h:21