Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump error codes as strings instead of integers #25

Merged
merged 5 commits into from
Jun 25, 2019

Conversation

bradleyjkemp
Copy link
Owner

@bradleyjkemp bradleyjkemp commented Jun 25, 2019

First commit in this PR adds a test for the current behaviour and then the second commit actually fixes #21. Edit: because of #24 and #26 the added test didn't pass consistently enough to merge so I had to remove it.

This is going to be a breaking change (changing the type of "code" from integer to string) but the old value is of little value to users. If for some reason they want to select based on status code numbers the mapping can be found here: https:/grpc/grpc/blob/master/doc/statuscodes.md

@bradleyjkemp bradleyjkemp merged commit af89291 into master Jun 25, 2019
@bradleyjkemp bradleyjkemp deleted the error-code-strings branch June 30, 2019 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include string form of error code in dump
1 participant