The Error::reason() method regressed by not checking if the internal kind was a user-created error. The second commit fixes this. The first commit was adding a test about send_reset, which didn't actually end up being the problem, but we didn't have an explicit test, so included it anyways.
The
Error::reason()
method regressed by not checking if the internal kind was a user-created error. The second commit fixes this. The first commit was adding a test aboutsend_reset
, which didn't actually end up being the problem, but we didn't have an explicit test, so included it anyways.Fixes #561