#include <stdexcept>
#include <fmt/color.h>
Go to the source code of this file.
|
namespace | aligator |
| Main package namespace.
|
|
◆ ALIGATOR_RUNTIME_ERROR
#define ALIGATOR_RUNTIME_ERROR |
( |
| msg | ) |
|
Value:
fmt::format("{}({}): {}", __FILE__, __LINE__, msg))
Definition at line 6 of file exceptions.hpp.
◆ ALIGATOR_DOMAIN_ERROR
#define ALIGATOR_DOMAIN_ERROR |
( |
| msg | ) |
throw std::domain_error(fmt::format("{}({}): {}", __FILE__, __LINE__, msg)) |
◆ ALIGATOR_WARNING
#define ALIGATOR_WARNING |
( |
| loc, |
|
|
| msg ) |
Value: fmt::print(fmt::fg(fmt::color::yellow), "[{}] {}: {}", loc, __FUNCTION__, \
msg);
Definition at line 13 of file exceptions.hpp.