Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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: ...
Jonathan Solorzano's user avatar
1 vote
3 answers
84 views

Type determined return values

I have the following js code: ...
Dethariel's user avatar
  • 183
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 ...
onlineracoon's user avatar