feat(api): enhance error handling with serde_path_to_error integration
Some checks failed
build / checks-build (push) Has been cancelled
build / codecov (push) Has been cancelled
docs / docs (push) Has been cancelled
build / checks-matrix (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-10-08 15:35:41 +05:30
parent c18e92ff01
commit 160ca86da5
4 changed files with 51 additions and 13 deletions

12
Cargo.lock generated
View File

@@ -1453,6 +1453,17 @@ dependencies = [
"serde_core",
]
[[package]]
name = "serde_path_to_error"
version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
dependencies = [
"itoa",
"serde",
"serde_core",
]
[[package]]
name = "serde_urlencoded"
version = "0.7.1"
@@ -2278,6 +2289,7 @@ dependencies = [
"reqwest",
"serde",
"serde_json",
"serde_path_to_error",
"thiserror",
"tokio",
"tracing",