http/api_exceptions library