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:
2025-06-22 16:26:27 +02:00
parent 39ff5f01e7
commit 2f33b41359
16 changed files with 74 additions and 109 deletions

1
Cargo.lock generated
View File

@@ -368,6 +368,7 @@ dependencies = [
name = "book_bot"
version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"axum-prometheus",
"base64",