Closed MeanSquaredError closed 1 year ago
Base: 99.65% // Head: 99.65% // No change to project coverage :thumbsup:
Coverage data is based on head (
72491b4
) compared to base (eba92ef
). Patch has no changes to coverable lines.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Currently when connection polling fails in WSAPoll/poll the library throws a generic std::runtime_error. This happen in various cases including
It makes sense to differentiate network errors like the above and internal errors caused by other reasons. For network errors some kind of retry mechanism could be used, while internal errors should probably cause program termination and/or a crash dump.
This pull request adds a separate network error type which is used when polling yields unexpected event flags, thus allowing differentiation between network error and internal errors.