doc: add documentation for errors

This adds documentation around what errors are generated by Node and how to intercept them.

The rendered docs are available [here](http://neversaw.us/nodejs-api/errors.html).
Added "whichever is smaller" -- do you think that clarifies adequately?