Raises AuthError when API key is wrong
Improve raise_error method. Message handling and avoid weird rescue usage
Remove deprecated error_code and add status_code to general error class
Merge pull request #11 from treasure-data/add-401-check

Raises AuthError when API key is wrong