winstd::eap_runtime_error exception introduced
This commit is contained in:
@@ -90,6 +90,12 @@ EAP_ERROR* eap::module::make_error(_In_ std::exception &err) const
|
|||||||
wstring what;
|
wstring what;
|
||||||
MultiByteToWideChar(CP_ACP, 0, err.what(), -1, what);
|
MultiByteToWideChar(CP_ACP, 0, err.what(), -1, what);
|
||||||
|
|
||||||
|
{
|
||||||
|
eap_runtime_error *e = dynamic_cast<eap_runtime_error*>(&err);
|
||||||
|
if (e)
|
||||||
|
return make_error(e->number(), e->root_cause(), e->repair(), e->reason(), &e->root_cause_id(), &e->repair_id(), &e->help_link_id());
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
win_runtime_error *e = dynamic_cast<win_runtime_error*>(&err);
|
win_runtime_error *e = dynamic_cast<win_runtime_error*>(&err);
|
||||||
if (e)
|
if (e)
|
||||||
|
Submodule lib/WinStd updated: 71c630085d...73bd1d5882
Reference in New Issue
Block a user