message is written for people: what is wrong, and how
to fix it.
The error’s name:
invalid, required, unauthorized, forbidden, notfound, conflict,
tooManyRequests or error.Status codes
What the SDKs retry
In the SDKs: nothing to catch
The SDKs retry what is safe, then throw what is left as one class per failure, carrying the site’s own words. You catch only what you want to react to.- Laravel
- TypeScript
Laravel’s exception handler takes care of the rest: every failure is logged with its site, route,
status and request id, and rendered properly. A refused value becomes Laravel’s own validation
response, so a controller needs no
try:NotFound renders a 404, RateLimited a 503 with Retry-After, anything else a 502.Every class, and what it carries
The Laravel and TypeScript tabs each list them, with what is retried.