File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,16 @@ All notable changes to this project will be documented in this file.
99- ` AppError::log ` now includes the stable ` code ` field alongside ` kind ` .
1010- ` AppError ` stores messages as ` Cow<'static, str> ` to avoid unnecessary allocations.
1111
12+ ### Documentation
13+ - Clarified how ` config::ConfigError ` converts into ` AppErrorKind::Config ` .
14+ - Documented that ` MultipartError ` maps to ` AppErrorKind::BadRequest ` in the Axum adapter.
15+
16+ ### Tests
17+ - Added unit test verifying ` config::ConfigError ` mapping.
18+ - Added Axum test asserting ` MultipartError ` becomes ` AppErrorKind::BadRequest ` and preserves the message.
19+ - Expanded Actix test to check JSON body and ` Retry-After ` /` WWW-Authenticate ` headers.
20+ - Covered fallback classification of unknown messages as ` TurnkeyErrorKind::Service ` .
21+
1222## [ 0.3.3] - 2025-09-11
1323### Added
1424- ` ErrorResponse::status_code() ` exposing validated ` StatusCode ` .
Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ utoipa = "5"
186186- ` sqlx::Error ` → NotFound/Database
187187- ` redis::RedisError ` → Cache
188188- ` reqwest::Error ` → Timeout/Network/ExternalApi
189+ - ` axum::extract::multipart::MultipartError ` → BadRequest
189190- ` validator::ValidationErrors ` → Validation
190191- ` config::ConfigError ` → Config
191192- ` tokio::time::error::Elapsed ` → Timeout
You can’t perform that action at this time.
0 commit comments