8#include "../macros.hpp"
9#include "../win32/win32.hpp"
11#include "exception_intf.hpp"
17hi_export_module(hikogui.utility.exception : impl);
19hi_export
namespace hi {
24 if (
auto msg = win32_FormatMessage(
static_cast<win32_error
>(error_code))) {
32 if (
auto msg = win32_FormatMessage(win32_GetLastError())) {
Rules for working with win32 headers.
DOXYGEN BUG.
Definition algorithm.hpp:16
geometry/margins.hpp
Definition lookahead_iterator.hpp:5
std::string get_last_error_message()
Get the OS error message from the last error received on this thread.
Definition exception_win32_impl.hpp:31
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377