feat: use custom error #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/error-handling-improvements"
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?
Added error.rs which maps some of the error types that can be run into to a custom AppError.
This way, the ? operator can more concisely propagate the error that we want.
I am not knowledgeable enough to review this