25#ifndef FSW_WINDOWS_ERROR_MESSAGE_H
26# define FSW_WINDOWS_ERROR_MESSAGE_H
89 operator std::wstring()
const;
92 mutable bool initialized =
false;
93 mutable std::wstring msg;
Helper class to get the system-defined error message for a Microsoft Windows' error code.
Definition: win_error_message.hpp:42
win_error_message()
Constructs an error message using the last error code of the calling thread, retrieved with a call to...
std::wstring get_message() const
Gets the system-defined error message.
static win_error_message current()
Constructs an instance of this class using the last error code of the calling thread,...
win_error_message(DWORD error_code)
Constructs an error message using the specified error_code.
DWORD get_error_code() const
Gets the error code.
Main namespace of libfswatch.
Definition: event.cpp:24