All Questions
3 questions
2
votes
1
answer
149
views
Handling success and failure when retrieving product information
I've got an Angular controller where I have two functions that are repeated inside two functions:
...
1
vote
3
answers
84
views
Type determined return values
I have the following js code:
...
6
votes
1
answer
6k
views
Node.js callback error pattern
The errors are passed through every callback, but in fact, it might be better to throw an error at higher levels. For example, look at the mongodb.js database function. It passes through an error in ...