Lack of descriptive guard errors #33

Open
opened 2021-09-01 16:44:37 +02:00 by Jef Roosens · 0 comments
Owner

Currently, request guards can only return a status code which can then be handled by a default catcher. There's no option to return custom response content, so any guard errors are automatically turned into generic response. This is just sad man, I really hope they implement this.

It seems I'm not the only one with this issue, so it's being tracked here.

Currently, request guards can only return a status code which can then be handled by a default catcher. There's no option to return custom response content, so any guard errors are automatically turned into generic response. This is just sad man, I really hope they implement this. It seems I'm not the only one with this issue, so it's being tracked [here](https://github.com/SergioBenitez/Rocket/issues/749).
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
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/rusty-bever#33
No description provided.