-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose error definitions #251
Comments
#183 seems related |
We're seeing these errors (specifically |
@jeremija any idea about above error? |
This is most likely as side effect of #183 I'm not sure if we should skip the callback or expose the errors, but exposing the errors makes sense to me as it's a smaller change (easier to reason about). |
Released v1.8.6 |
Using exposed errors in my product works as expected now |
webrtc.DataChannel.OnError(err error)
often receivesabort chunk, with following errors: (User Initiated Abort: Close called)
.sending reset packet in non-established state: state=Closed
which seems be intended results. (Maybe by the recent updates?)
Possible solutions
var errErrorName
->var ErrErrorName
) forerrors.Is()
errors.As()
e.g.
errChunk
,The text was updated successfully, but these errors were encountered: