![]() |
Plasma Engine
2.0
|
Converts a windows HRESULT into an error code and a human-readable error message. Pass in GetLastError() function or an HRESULT from another error source. Be careful when printing multiple values, a function could clear GetLastError as a side-effect so it is best to store it in a temp variable before printing a complex error message.
More...
#include <FormatStringArgs.h>
Public Member Functions | |
| plArgErrorCode (plUInt32 uiErrorCode) | |
Public Attributes | |
| plUInt32 | m_ErrorCode |
Converts a windows HRESULT into an error code and a human-readable error message. Pass in GetLastError() function or an HRESULT from another error source. Be careful when printing multiple values, a function could clear GetLastError as a side-effect so it is best to store it in a temp variable before printing a complex error message.