errors

Errors vs. Bugs

One of the most important things I learned during past few months at MeteorHacks is the difference between errors and bugs and how they should be handled. I also found this awesome article on Joyent website which talks about error handling in node. Errors can stop your program from working but the program can’t fix it (s.a. losing network connection). The program should be prepared to handle these events or you’re going to say “It works on my computer” a lot.
Read more