General error system for better status messages #9
Labels
No Label
Brainstorm
Parent
bug
duplicate
enhancement
help wanted
idea
invalid
project/backend
project/frontend
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/fej#9
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The idea is to create a top-level module that contains definitions for errors (e.g. an enum) that can be converted to a Rocket HTTP Status. We can then use these errors as return values for our controller functions, and parse them in the routes.