dot-xx
A personal collection of small C++ modules
|
Exception class that supports construction from std::format-like args and automatic errno capture in the message. More...
Public Member Functions | |
template<typename... Args> | |
constexpr | Error (std::format_string< Args... > fmt, Args &&... args) |
Regular constructor. | |
template<typename... Args> | |
constexpr | Error (Errno, std::format_string< Args... > fmt, Args &&... args) |
Automatically adds errno info to the message. |
Exception class that supports construction from std::format-like args and automatic errno capture in the message.