komola/paymill-node — pull request #17 by Prinzhorn (2014-01-23 18:02:33+00:00)
Title: added better error messages by extracting them from the response body.

fixes #16

Added tests for the different cases as well.

This fix turns my error message from #7 `Error: Response code is not ok` into `Error: Offer not Found`, which explains a lot ;-)