You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May I suggest that you throw a std::system_error instead of a std::runtime_error? That way, the std::system_error could encapsulate the std::error_code that would normally be returned via the alternate API.
The text was updated successfully, but these errors were encountered:
May I suggest that you throw a
std::system_error
instead of astd::runtime_error
? That way, thestd::system_error
could encapsulate thestd::error_code
that would normally be returned via the alternate API.The text was updated successfully, but these errors were encountered: