Standard C runtime library error.
More...
#include <stdex/errno.hpp>
|
| errno_error (errno_t num, const std::string &msg) |
| Constructs an exception.
|
|
| errno_error (errno_t num, const char *msg=nullptr) |
| Constructs an exception.
|
|
| errno_error (const std::string &msg) |
| Constructs an exception using GetLastError()
|
|
| errno_error (const char *msg=nullptr) |
| Constructs an exception using GetLastError()
|
|
errno_t | number () const |
| Returns the error number.
|
|
|
errno_t | m_num |
| Numeric error code.
|
|
Standard C runtime library error.
◆ errno_error() [1/4]
stdex::errno_error::errno_error |
( |
errno_t |
num, |
|
|
const std::string & |
msg |
|
) |
| |
|
inline |
Constructs an exception.
- Parameters
-
[in] | num | Numeric error code |
[in] | msg | Error message |
◆ errno_error() [2/4]
stdex::errno_error::errno_error |
( |
errno_t |
num, |
|
|
const char * |
msg = nullptr |
|
) |
| |
|
inline |
Constructs an exception.
- Parameters
-
[in] | num | Numeric error code |
[in] | msg | Error message |
◆ errno_error() [3/4]
stdex::errno_error::errno_error |
( |
const std::string & |
msg | ) |
|
|
inline |
Constructs an exception using GetLastError()
- Parameters
-
◆ errno_error() [4/4]
stdex::errno_error::errno_error |
( |
const char * |
msg = nullptr | ) |
|
|
inline |
Constructs an exception using GetLastError()
- Parameters
-
The documentation for this class was generated from the following file: