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

fix: unify status code and move user error to 400 #1161

Merged
merged 2 commits into from
Feb 13, 2023

Conversation

czgu
Copy link
Collaborator

@czgu czgu commented Feb 13, 2023

  • Use 400s for client errors, and 500 for server errors
  • Move all int status to constant

@czgu czgu marked this pull request as ready for review February 13, 2023 19:44
@czgu czgu merged commit 118a8f5 into pinterest:master Feb 13, 2023
@czgu czgu deleted the statuscode branch February 13, 2023 20:56
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Apr 11, 2023
* fix: unify status code and move user error to 400

* convert more numbers to const
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
* fix: unify status code and move user error to 400

* convert more numbers to const
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.

2 participants