33 std::int64_t
error() const noexcept;
60 virtual ~
Errno() noexcept;
63 std::int64_t error() const noexcept;
64 bool check_value() const noexcept;
65 Errno& check_if(const
bool& ret) noexcept;
66 void throw_exception(const std::
string& str = {})
const;
69 std::int64_t m_errno{0};
70 bool m_check_value{
false};
78 explicit ErrnoException(
const std::int64_t& error,
const std::string& context = {});
84 void build_what() const noexcept final;
93void ExceptionHandler(
const ExceptionDestination& destination = ExceptionDestination::StdErr)
noexcept;
std::string context() const noexcept
ErrnoException & operator=(const ErrnoException &)=default
ErrnoException & operator=(ErrnoException &&)=default
ErrnoException(ErrnoException &&)=default
~ErrnoException() override=default
ErrnoException(const ErrnoException &)=default
Errno(Errno &&) noexcept=default
Errno(const Errno &) noexcept=default
WindowsError() noexcept=default
bool check_value() const noexcept
WindowsError & check_if(const bool &ret) noexcept
std::int64_t error() const noexcept
WindowsError(WindowsError &&)=default
void throw_exception(const std::string &str=std::string()) const
WindowsError(const WindowsError &)=default
WindowsException(const std::int64_t &error, const std::string &context=std::string())
~WindowsException() override=default
void build_what() const noexcept final