reformat api exceptions
Merge pull request #6 from modethirteen/master

reformat api exceptions