Windows runtime error.
More...
#include <WinStd/Common.h>
|
typedef DWORD | error_type |
| Error number type.
|
|
error_type | m_num |
| Numeric error code.
|
|
◆ win_runtime_error() [1/4]
winstd::win_runtime_error::win_runtime_error |
( |
error_type |
num, |
|
|
const std::string & |
msg |
|
) |
| |
|
inline |
Constructs an exception.
- Parameters
-
[in] | num | Windows error code |
[in] | msg | Error message |
◆ win_runtime_error() [2/4]
winstd::win_runtime_error::win_runtime_error |
( |
error_type |
num, |
|
|
const char * |
msg = nullptr |
|
) |
| |
|
inline |
Constructs an exception.
- Parameters
-
[in] | num | Windows error code |
[in] | msg | Error message |
◆ win_runtime_error() [3/4]
winstd::win_runtime_error::win_runtime_error |
( |
const std::string & |
msg | ) |
|
|
inline |
Constructs an exception using GetLastError()
- Parameters
-
◆ win_runtime_error() [4/4]
winstd::win_runtime_error::win_runtime_error |
( |
const char * |
msg = nullptr | ) |
|
|
inline |
Constructs an exception using GetLastError()
- Parameters
-
◆ msg()
tstring winstd::win_runtime_error::msg |
( |
DWORD |
dwLanguageId = 0 | ) |
const |
|
inline |
The documentation for this class was generated from the following file: