Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make unsuccessful connect fail rather than die
Spotted in https://stackoverflow.com/questions/72639883/how-to-deal-with-exceptions-in-iosocketinet There is no documentation or tests covering the behaviour of a failed connect. It is actually the nqp::connect that throws (which turns out also to be not documented BTW). Having it return a Failure feels more natural indeed.
- Loading branch information