def __check_http_err(self, status_code):
if status_code == <NUM_LIT>:<EOL><INDENT>raise exceptions.APIAuthenticationError(self.api_key)<EOL><DEDENT>elif status_code == <NUM_LIT>:<EOL><INDENT>raise exceptions.APITimeoutError()<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Raises an exception if we get a http error