| 56 | } |
| 57 | } |
| 58 | template <class... Args> void error(Args&&... args) |
| 59 | { |
| 60 | const std::string errorMsg = fmt::format(std::forward<Args>(args)...); |
| 61 | if (VERBOSE_EXCEPTIONS) |
| 62 | { |
| 63 | m_message += fmt::format(" Error: {}\n", errorMsg); |
| 64 | } |
| 65 | else |
| 66 | { |
| 67 | m_message += (": " + errorMsg); |
| 68 | } |
| 69 | } |
| 70 | template <class... Args> void hint(Args&&... args) |
| 71 | { |
| 72 | const std::string hintMsg = fmt::format(std::forward<Args>(args)...); |
no test coverage detected