You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Maps a zero code of `connectWireError` to a CodeUnknown in
`connectWireError) asError() *Error `
This could have been done in the unmarshaling to `connectWireError` but
I chose to leave that to be exactly what was read off the wire.
- Adds nil guard in `validateResponse` for asError
- Adds tests for error mapping
Fixes: https://github.com/bufbuild/connect-go/issues/396
Describe the bug
The client panics when server sends 0 connect.ErrorCode
To Reproduce
Yields:
Environment (please complete the following information):
connect-go
v1.1.0The text was updated successfully, but these errors were encountered: