@staticmethod<EOL><INDENT>def evaluate_errors(json_response):<DEDENT>
if '<STR_LIT>' not in json_response ornot isinstance(json_response['<STR_LIT>'], list) ornot json_response['<STR_LIT>'] ornot isinstance(json_response['<STR_LIT>'][<NUM_LIT:0>], int):<EOL><INDENT>raise PyVLXException('<STR_LIT>'.format(json.dumps(json_response)))<EOL><DEDENT>first_error = json_response['<STR_LIT>'][<NUM_LIT:0>]<EOL>if first_error in [<NUM_LIT>, <NUM_LIT>, <NUM_LIT>, <NUM_LIT>]:<EOL><INDENT>raise InvalidToken(first_error)<EOL><DEDENT>raise PyVLXException('<STR_LIT>'.format(first_error))<EOL>
Evaluate rest errors.