Skip to content

Conversation

@pimterry
Copy link

@pimterry pimterry commented Jul 7, 2020

Super tiny PR that fixes #374.

This doesn't expose all errors, there's definitely more that could be done here, but this is an easy useful addition imo.

It doesn't match up that closely to the node API, not sure how important that is to you, but it's broadly similar. The equivalent node sessionError event is emitted with the error and the session, not the socket, the error code etc values are different, and I expect it's not emitted in exactly the same cases.

@franz-josef-kaiser
Copy link

@daviddias Could you take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Connection errors are not exposed

2 participants