|
|
|
|
|
by fmorel
315 days ago
|
|
Except you might want different error handling for different error codes. For example, our validation errors return a JSON object as well but with 422. So treating "get a response" and "get data from a response" separately works out well for us. |
|