raoulmillais/node-7digital-api — pull request #29 by actionshrimp (2014-04-24 14:42:47+00:00)
Title: Return clearer error types for various failure conditions

- Return HttpErrors for non-200 responses from the API
- Return ApiParseErrors for responses which are in an unparsable/parseable but unexpected format
- Return ApiErrors for valid error responses (status === 'error')