twitchtv / twirp

A simple RPC framework with protobuf service definitions
https://twitchtv.github.io/twirp/docs/intro.html
Apache License 2.0
7.2k stars 326 forks source link

Replace references to Error type with Error code #363

Closed davidblnc closed 2 years ago

davidblnc commented 2 years ago

Just noticed looking at the docs that according to the routing section errors have a "type" field, but everywhere else this field is called "code" (I guess it was "type" in a previous version).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

wmatveyenko commented 2 years ago

Thanks for your contribution.