mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Refactor error handling to use anyhow throughout codebase
Switch all custom error types and handler signatures from `Box<dyn std::error::Error + Send + Sync>` to `anyhow::Result`. Add anyhow as a dependency. Fix typos and update function names for consistency.
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -368,6 +368,7 @@ dependencies = [
|
||||
name = "book_bot"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
"axum-prometheus",
|
||||
"base64",
|
||||
|
||||
Reference in New Issue
Block a user