The primary duty of an exception handler is to get the error out of the lap of the programmer and into the surprised face of the user. Provided you keep this cardinal rule in mind, you can't go far wrong.
Pow! Good post Peteris. The 'fs' method 'readStream' throws this error - reObject #
<Object>
has no method 'readStream'. When I took a look at the node.js documentation I noticed that that the method starts with capital letter 'R' - 'ReadStream'. Thank you for this awesome series.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
Education Sponsors
I am being sponsored by A-Writer! If you ever need help with essay writing, look no further than A-Writer! They will help you with your writing in as quickly as 3 hours!
Pow! Good post Peteris. The 'fs' method 'readStream' throws this error - reObject #
<Object>has no method 'readStream'. When I took a look at the node.js documentation I noticed that that the method starts with capital letter 'R' - 'ReadStream'. Thank you for this awesome series.
Reply To This Comment