#include <iostream>
#include <string>
Go to the source code of this file.
◆ Assert0
#define Assert0 |
( |
|
cond, |
|
|
|
msg |
|
) |
| |
Value:if (!(cond)) \
MAST::Exceptions::ExceptionBase \
(#cond, \
" ", \
msg, \
__FILE__, \
__LINE__).throw_error() \
Definition at line 134 of file exceptions.hpp.
◆ Assert1
#define Assert1 |
( |
|
cond, |
|
|
|
v1, |
|
|
|
msg |
|
) |
| |
Value:if (!(cond)) \
MAST::Exceptions::Exception1<decltype(v1)> \
(v1, \
#cond, \
msg, \
__FILE__, \
__LINE__).throw_error() \
Definition at line 143 of file exceptions.hpp.
◆ Assert2
#define Assert2 |
( |
|
cond, |
|
|
|
v1, |
|
|
|
v2, |
|
|
|
msg |
|
) |
| |
Value:if (!(cond)) \
MAST::Exceptions::Exception2<decltype(v1), decltype(v2)> \
(v1, \
v2, \
#cond, \
msg, \
__FILE__, \
__LINE__).throw_error() \
Definition at line 152 of file exceptions.hpp.
◆ Error
#define Error |
( |
|
cond, |
|
|
|
msg |
|
) |
| |
Value:if (!(cond)) \
MAST::Exceptions::ExceptionBase( \
#cond, \
" ", \
msg, \
__FILE__, \
__LINE__).throw_error() \
Definition at line 166 of file exceptions.hpp.