Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a more specific type for error callbacks (#132)
Error callbacks are only ever called with `ConnectException` as arguments. Being more specific in these requests can tidy up call-sites in avoiding type assertions (as a hard cast to `ConnectException`) or overly generic handling where callers account for additional exception types that won't ever be used.
- Loading branch information