Status Codes Done Right

Recap: the status-code families (module 05)

Module 05 grouped HTTP status codes by their first digit: 2xx means success, 4xx means the CLIENT made a mistake, 5xx means the SERVER broke. A JSON API leans on that grouping constantly β€” the exact number inside each family tells the client precisely what happened, which matters when the client is Swift code deciding whether to retry, show a form error, or alert the user.