Skip to content

define a customized error type to carry status code and body#76

Open
leslie-qiwa wants to merge 3 commits into
shurcooL:mainfrom
leslie-qiwa:master
Open

define a customized error type to carry status code and body#76
leslie-qiwa wants to merge 3 commits into
shurcooL:mainfrom
leslie-qiwa:master

Conversation

@leslie-qiwa

Copy link
Copy Markdown

as a user, I want to know status code directly instead of parsing error
text, just incase error text got changed one day

Signed-off-by: Leslie Qi Wang qiwa@pensando.io

as a user, I want to know status code directly instead of parsing error
text, just incase error text got changed one day

Signed-off-by: Leslie Qi Wang <qiwa@pensando.io>
Signed-off-by: Leslie Qi Wang <qiwa@pensando.io>
Signed-off-by: Leslie Qi Wang <qiwa@pensando.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant