dot-xx
A personal collection of small C++ modules
Loading...
Searching...
No Matches
dxx::errors::Error Struct Referenceexport
module dxx.errors

Exception class that supports construction from std::format-like args and automatic errno capture in the message. More...

Inheritance diagram for dxx::errors::Error:

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.

Detailed Description

Exception class that supports construction from std::format-like args and automatic errno capture in the message.


The documentation for this struct was generated from the following file:
  • /build-llvm-libcpp/_deps/dot-xx-errors-src/src/errors.xx