|
All checks were successful
Deploy to Production / deploy (push) Successful in 1m20s
apiFetch threw new Error(api_error_<status>), so any UI fallback to (e).message showed a cryptic code, and some flows surfaced bare codes like slug_taken. Added a central humanizeError() in lib/api.ts: prefers the backend detail sentence, then a mapped friendly message per known code, then a status-based fallback - never a raw code. apiFetch now sets the thrown error message via it, so every (e).message fallback across the app becomes a real sentence. Wizard analyze/build now use humanizeError directly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| (dashboard) | ||
| (marketing) | ||
| admin | ||
| docs | ||
| login | ||
| templates | ||
| apple-icon.tsx | ||
| globals.css | ||
| icon.svg | ||
| layout.tsx | ||
| manifest.ts | ||
| opengraph-image.tsx | ||
| robots.ts | ||
| sitemap.ts | ||