This fixes an issue where error messages were unclear after updating hyper.
In addition, the error code name will be included in the message regarding HTTP/2 error codes.
Before
client error (Connect)
The HTTP/2 server reset the stream. HTTP/2 error code (0xd).
After
client error (Connect): dns error: No such host is known. (os error 11001)
The HTTP/2 server closed the connection or reset the stream. HTTP/2 error code 'HTTP_1_1_REQUIRED' (0xd).
This fixes an issue where error messages were unclear after updating hyper. In addition, the error code name will be included in the message regarding HTTP/2 error codes.
Before
After