refactor(server,common): introduce custom error types with thiserror and miette

This commit is contained in:
2026-02-11 16:29:59 +02:00
parent cda6024062
commit 818cfd5598
10 changed files with 134 additions and 61 deletions

5
Cargo.lock generated
View File

@@ -275,11 +275,15 @@ name = "common"
version = "0.1.0"
dependencies = [
"cargo-husky",
"miette",
"rcgen",
"rustls",
"serde",
"serde_json",
"strum",
"thiserror",
"tokio",
"toml",
]
[[package]]
@@ -915,6 +919,7 @@ dependencies = [
"common",
"miette",
"rustls",
"thiserror",
"tokio",
"tokio-rustls",
"tracing",