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:
gsxdsm
2026-04-08 12:37:47 -07:00
parent def7b82a7f
commit 156d49f70b
10 changed files with 2085 additions and 1373 deletions

View 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.