General error system for better status messages #9

Closed
opened 2021-04-04 12:35:50 +02:00 by Jef Roosens · 0 comments

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.

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.
Jef Roosens added this to the Version 1.0: Ivago milestone 2021-04-04 12:35:50 +02:00
Jef Roosens added the
enhancement
label 2021-04-04 12:35:50 +02:00
Jef Roosens self-assigned this 2021-04-04 12:35:50 +02:00
Jef Roosens added this to the (deleted) project 2021-04-04 12:35:50 +02:00
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Chewing_Bever/fej#9
There is no content yet.