Skip to content

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

Merged
czgu merged 2 commits into
pinterest:masterfrom
czgu:statuscode
Feb 13, 2023
Merged

fix: unify status code and move user error to 400#1161
czgu merged 2 commits into
pinterest:masterfrom
czgu:statuscode

Conversation

@czgu

@czgu czgu commented Feb 13, 2023

Copy link
Copy Markdown
Collaborator
  • 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