Skip to content

Add debug endpoint to simulate failure #39

Closed
campb303 opened this issue Jul 12, 2021 · 0 comments · Fixed by #44
Closed

Add debug endpoint to simulate failure #39

campb303 opened this issue Jul 12, 2021 · 0 comments · Fixed by #44
Assignees
Labels
feature-request Request for functionality that has not already been implemented

Comments

@campb303
Copy link
Collaborator

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.

@campb303 campb303 added the feature-request Request for functionality that has not already been implemented label Jul 12, 2021
@campb303 campb303 self-assigned this Jul 12, 2021
Sign in to join this conversation on GitHub.
Labels
feature-request Request for functionality that has not already been implemented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant