![]() |
ezEngine Release 25.08
|
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 <FormatString_Platform.h>
Public Member Functions | |
| ezArgErrorCode (ezUInt32 uiErrorCode) | |
| ezArgErrorCode (ezUInt32 uiErrorCode) | |
Public Attributes | |
| ezUInt32 | 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.