alexperezpaya/irelia — pull request #3 by cbankston (2014-03-05 08:30:51+00:00)
Title: Request errors are now instanceof Error

I've updated the error object created in irelia.makeRequest when an unsuccessful status code is received so that it's an instanceof Error (as well as RequestError).

I've done this because I pass the error object up the callback chain and another library that I am using (coffee-resque) requires that errors be an instanceof Error.

Thoughts?