v5.9.0: New WriteError function, bugfixes
This release includes three changes.
- #192 added a new
github.com/twitchtv/twirp.WriteError
function to the main Twirp library. This should help users write general code that plays well in a broader Twirp ecosystem. - #193 fixes Twirp client behavior when a server responds with an error that is JSON-encoded, but not a valid Twirp error. Now, the client should provide a more meaningful error message in this case.
- #191 fixes a documentation comment in github.com/twitchtv/twirp/hooks/statsd.