fix(FN-1287): standardize dashboard API error responses
- Add shared ApiError class and response helpers for consistent error shape - Migrate routes and mission-routes handlers to use standardized API errors - Update server error middleware, rate limiter, and node metrics error handling to use shared helpers - Expand dashboard tests with ApiError coverage and standardized response assertions - Add a changeset documenting the @gsxdsm/fusion patch for API error shape standardization
This commit is contained in:
5
.changeset/standardize-api-error-shape.md
Normal file
5
.changeset/standardize-api-error-shape.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@gsxdsm/fusion": patch
|
||||
---
|
||||
|
||||
Standardize dashboard API error responses around shared `ApiError` utilities and a consistent `{ error }` envelope with optional `details` metadata.
|
||||
Reference in New Issue
Block a user