def error_response(response):
if response.status_code >= <NUM_LIT>:<EOL><INDENT>raise exceptions.GeocodioServerError<EOL><DEDENT>elif response.status_code == <NUM_LIT>:<EOL><INDENT>raise exceptions.GeocodioAuthError<EOL><DEDENT>elif response.status_code == <NUM_LIT>:<EOL><INDENT>raise exceptions.GeocodioDataError(response.json()["<STR_LIT:error>"])<EOL><DEDENT>else:<EOL><INDENT>raise exceptions.GeocodioError(<EOL>"<STR_LIT>".format(response.status_code)<EOL>)<EOL><DEDENT>
Raises errors matching the response code