def _check_for_exceptions(self, resp, multiple_rates):
if resp['<STR_LIT>'] != <NUM_LIT:100>:<EOL><INDENT>raise exceptions.get_exception_for_code(resp['<STR_LIT>'])(resp)<EOL><DEDENT>results = resp['<STR_LIT>']<EOL>if len(results) == <NUM_LIT:0>:<EOL><INDENT>raise exceptions.ZipTaxNoResults('<STR_LIT>')<EOL><DEDENT>if len(results) > <NUM_LIT:1> and not multiple_rates:<EOL><INDENT>rates = [result['<STR_LIT>'] for result in results]<EOL>if len(set(rates)) != <NUM_LIT:1>:<EOL><INDENT>raise exceptions.ZipTaxMultipleResults('<STR_LIT>')<EOL><DEDENT><DEDENT>
Check if there are exceptions that should be raised