Security runtime error.
More...
#include <WinStd/Sec.h>
|
typedef SECURITY_STATUS | error_type |
| Error number type.
|
|
error_type | m_num |
| Numeric error code.
|
|
Security runtime error.
- Note
- Must be defined as derived class from num_runtime_error<> to allow correct type info for dynamic typecasting and prevent folding with other derivates of num_runtime_error<>.
◆ sec_runtime_error() [1/3]
winstd::sec_runtime_error::sec_runtime_error |
( |
error_type | num, |
|
|
const std::string & | msg ) |
|
inline |
Constructs an exception.
- Parameters
-
[in] | num | Security provider error code |
[in] | msg | Error message |
◆ sec_runtime_error() [2/3]
winstd::sec_runtime_error::sec_runtime_error |
( |
error_type | num, |
|
|
const char * | msg = nullptr ) |
|
inline |
Constructs an exception.
- Parameters
-
[in] | num | Security provider error code |
[in] | msg | Error message |
◆ sec_runtime_error() [3/3]
Copies an exception.
- Parameters
-
[in] | other | Exception to copy from |
The documentation for this class was generated from the following file: