errno_error.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef CRUCIBLE_UNIX_ERRNO_ERROR_HPP #define CRUCIBLE_UNIX_ERRNO_ERROR_HPP #include <string> namespace crucible::unix::errno_error { template<typename DERIVED> class ErrnoError { public: ErrnoError(); [[nodiscard]] auto format() const -> std::string; private: int my_errno = 0; }; } #endif // CRUCIBLE_UNIX_ERRNO_ERROR_HPP