google/google-api-nodejs-client — pull request #306 by Alaneor (2014-10-12 19:26:48+00:00)
Title: Improve 890b8e7

I was off the grid since Friday so could not join the discussion around #293 on #304 but here are my suggestions that might improve on that. Comments are very welcome!

- Also handle client (4xx) HTTP errors (just in case, you never know...)
- Return actual instance or `Error` when an HTTP error occurs

PS. Not sure if we should also have a test case for a successful HTTP response...?