Add base API Exception to allow catch all
Check HTTP code and throw exceptions as necessary