Frontend needs a method to test error code cases easily.
Proposal: Add /api/error/<int:number route that returns error code of number with a JSON object of "message" key and HTTP error description value.
/api/error/<int:number
number
The text was updated successfully, but these errors were encountered:
campb303
Successfully merging a pull request may close this issue.
Frontend needs a method to test error code cases easily.
Proposal: Add
/api/error/<int:number
route that returns error code ofnumber
with a JSON object of "message" key and HTTP error description value.The text was updated successfully, but these errors were encountered: