|
WinStd
Windows Win32 API using Standard C++
|
EapHost runtime error. More...
#include <WinStd/EAP.h>
Public Member Functions | |
| eap_runtime_error (const EAP_ERROR &err, const std::string &msg) | |
| Constructs an exception. | |
| eap_runtime_error (const EAP_ERROR &err) | |
| Constructs an exception. | |
| eap_runtime_error (const EAP_ERROR &err, const char *msg) | |
| Constructs an exception. | |
| const EAP_METHOD_TYPE & | type () const noexcept |
| Returns EAP method type. | |
| DWORD | reason () const noexcept |
| Returns the reason code for error. | |
| const GUID & | root_cause_id () const noexcept |
| Returns root cause ID. | |
| const wchar_t * | root_cause () const noexcept |
| Returns root cause ID. | |
| const GUID & | repair_id () const noexcept |
| Returns repair ID. | |
| const wchar_t * | repair () const noexcept |
| Returns root cause ID. | |
| const GUID & | help_link_id () const noexcept |
| Returns help_link ID. | |
Public Member Functions inherited from winstd::win_runtime_error | |
| win_runtime_error (error_type num) | |
| Constructs an exception. | |
| win_runtime_error (error_type num, const std::string &msg) | |
| Constructs an exception. | |
| win_runtime_error (error_type num, const char *msg) | |
| Constructs an exception. | |
| win_runtime_error () | |
Constructs an exception using GetLastError() | |
| win_runtime_error (const std::string &msg) | |
Constructs an exception using GetLastError() | |
| win_runtime_error (const char *msg) | |
Constructs an exception using GetLastError() | |
Public Member Functions inherited from winstd::num_runtime_error< DWORD > | |
| 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 | |
| EAP_METHOD_TYPE | m_type |
| Structure that identifies the EAP method that raised the error. | |
| DWORD | m_reason |
| The reason code for the error. | |
| GUID | m_root_cause_id |
| A unique ID that identifies cause of error in EAPHost. | |
| std::wstring | m_root_cause_desc |
| A localized and readable string that describes the root cause of the error. | |
| GUID | m_repair_id |
| A unique ID that maps to a localizable string that identifies the repair action that can be taken to fix the reported error. | |
| std::wstring | m_repair_desc |
| A localized and readable string that describes the possible repair action. | |
| GUID | m_help_link_id |
| A unique ID that maps to a localizable string that specifies an URL for a page that contains additional information about an error or repair message. | |
Protected Attributes inherited from winstd::num_runtime_error< DWORD > | |
| error_type | m_num |
| Numeric error code. | |
Additional Inherited Members | |
Public Types inherited from winstd::num_runtime_error< DWORD > | |
| typedef DWORD | error_type |
| Error number type. | |
Static Protected Member Functions inherited from winstd::win_runtime_error | |
| static std::string | message (error_type num, DWORD dwLanguageId=0) |
| Returns a user-readable Windows error message. As std::exception messages may only be char*, we use UTF-8 by convention. | |
EapHost runtime error.
|
inline |
Constructs an exception.
| [in] | err | EapHost error descriptor |
| [in] | msg | Error message |
Constructs an exception.
| [in] | err | EapHost error descriptor |
Constructs an exception.
| [in] | err | EapHost error descriptor |
| [in] | msg | Error message |