Skip to content

v5.9.0: New WriteError function, bugfixes

Compare
Choose a tag to compare
@spenczar spenczar released this 06 Nov 23:55

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.