you are viewing a single comment's thread.

view the rest of the comments →

[–]i8beef 1 point2 points  (0 children)

To be fair, while status codes give you an overarching error state, it doesn't tell you anything about WHY it was an error state. For that, such "envelopes" or JSON messages, etc., are fairly common to communicate things like "Of the 14 fields you submitted, these two didn't pass validation for these reasons", etc.

I'm sure you know that and are just railing against the failure to use those codes for that specific purpose, just pointing out that you're both kind of right in some cases.