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
twirp gem offers a proper mapping of errors to HTTP status codes.
Instead of using "Twirp::Error.new" in our codebase, we should be using proper status codes and this gem should automatically map them to twirp errors.
twirp
gem offers a proper mapping of errors to HTTP status codes.Instead of using "Twirp::Error.new" in our codebase, we should be using proper status codes and this gem should automatically map them to twirp errors.
https://github.com/arthurnn/twirp-ruby/blob/caf2381a94721d830c47e38ea244fa1c7a8dc006/lib/twirp/error.rb#L53-L61
The text was updated successfully, but these errors were encountered: