Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fmorel
6 months ago
|
parent
|
context
|
favorite
| on:
Modern Node.js Patterns
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So treating "get a response" and "get data from a response" separately works out well for us.