* Expose API error
Merge pull request #23 from jayzeng/refactor/issue12_apierror

* Expose API error