Error Map – shadcn/ui File by cligentic | shadcnregistry
Error Map
file
Typed `AppError` class with `code`, `name`, `human` message, and `hint`. Maps upstream API errors to actionable messages. `fromHttp()` maps status codes directly. Agents read the `hint` field to self-correct.