Figure out error handling #13

Closed
opened 2021-08-21 14:23:16 +02:00 by Jef Roosens · 1 comment
Owner

We can't just use unwrap everywhere to "handle" errors. We need a robust system that allows us to pass errors between the library & the binary, & convert these into Rocket responses.

We can't just use unwrap everywhere to "handle" errors. We need a robust system that allows us to pass errors between the library & the binary, & convert these into Rocket responses.
Jef Roosens added this to the (deleted) milestone 2021-08-21 14:23:16 +02:00
Jef Roosens added the
Backend
enhancement
labels 2021-08-21 14:23:16 +02:00
Author
Owner

The error handling code is still pretty messy right now, I can't just keep adding new enum types & lines in the match statement.

The error handling code is still pretty messy right now, I can't just keep adding new enum types & lines in the match statement.
This repository is archived. You cannot comment on issues.
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#13
No description provided.