WinStd
Windows Win32 API using Standard C++
|
Numerical runtime error. More...
#include <WinStd/Common.h>
Public Types | |
typedef _Tn | error_type |
Error number type. | |
Public Member Functions | |
num_runtime_error (error_type num, const std::string &msg) | |
Constructs an exception. | |
num_runtime_error (error_type num, const char *msg=nullptr) | |
Constructs an exception. | |
error_type | number () const |
Returns the error number. | |
Protected Attributes | |
error_type | m_num |
Numeric error code. | |
Numerical runtime error.
|
inline |
Constructs an exception.
[in] | num | Numeric error code |
[in] | msg | Error message |
|
inline |
Constructs an exception.
[in] | num | Numeric error code |
[in] | msg | Error message |