Refactor error management in API part #10

Merged
lx merged 1 commit from error-refactoring into master 2020-11-08 17:04:55 +00:00
Owner

Create distinct Error type for everything API related, for cleaner separation of concerns. Also introduce ok_or_bad_request and ok_or_internal_error combinators for easier writing of API functions.

Create distinct Error type for everything API related, for cleaner separation of concerns. Also introduce ok_or_bad_request and ok_or_internal_error combinators for easier writing of API functions.
lx merged commit 045009da9b into master 2020-11-08 17:04:55 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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: Deuxfleurs/garage#10
No description provided.