ErrLib
|
#include <ErrLib_CPP.h>
Static Public Member Functions | |
static WinapiException | FromLastError (bool localized) |
Additional Inherited Members | |
Public Member Functions inherited from ErrLib::Exception | |
Exception () | |
Exception (const std::wstring &message) | |
Exception (const std::wstring &message, DWORD code, void *data) | |
std::wstring | GetMsg () |
DWORD | GetCode () |
void * | GetData () |
void | GetMessageText (WCHAR *pOutput, int cch) |
void | GetContext (CONTEXT *pOutput) |
void | PrintStackTrace (WCHAR *pOutput, int cch) |
std::wstring | PrintStackTrace () |
void | Log (bool visible) |
Represents an error in Windows native API function
|
inlinestatic |
Creates a new WinapiException using the error code and message from the last WINAPI error
localized | The value indicating whether the exception message should use the current OS locale |
true
, the message is in language of the current OS locale. Otherwise, it is always in English.