General error system for better status messages #9
Labels
No labels
Brainstorm
Parent
bug
duplicate
enhancement
help wanted
idea
invalid
project/backend
project/frontend
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/fej#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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.