Align API error envelopes
This commit is contained in:
@@ -660,3 +660,11 @@ Added:
|
||||
- Desktop screenshots are always captured; mobile screenshots are captured by default and can be disabled with `CAPTURE_MOBILE=0`.
|
||||
- Added readiness syntax coverage and regression checks for the non-mutating screenshot capture contract.
|
||||
- No API contracts, migrations, product capabilities, live provider fetching or AI/model dependency changes were introduced.
|
||||
|
||||
## Sprint 60 API error-envelope contract hardening (2026-06-18)
|
||||
|
||||
- Aligned backend error responses with the documented `ApiError` contract: top-level `error`, `message`, `details` and `request_id`.
|
||||
- Preserved frontend compatibility with both the canonical top-level error payload and the older nested error-object shape.
|
||||
- Added regression coverage for AppError, HTTPException and validation-error envelopes.
|
||||
- Added static frontend parser coverage so API client error parsing does not drift silently.
|
||||
- No migrations, product capabilities, live provider fetching or AI/model dependency changes were introduced.
|
||||
|
||||
Reference in New Issue
Block a user