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 {
inline namespace v1 {
23 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.
The HikoGUI namespace.
Definition array_generic.hpp:21
The HikoGUI API version 1.
Definition array_generic.hpp:22
hi_export std::string get_last_error_message()
Get the OS error message from the last error received on this thread.
Definition exception_win32_impl.hpp:30