Le samedi 10 novembre 2012 06:01:22 UTC+1, Alexey Petrushin a écrit :

> Error handling with callbacks is especially interesting, try this code - 
> the 'Surprise' error won't be caught. 


Error handling is tricky with callbacks.

One nice solution is using (well implemented) promises. See 
https://gist.github.com/3889970

 

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to