Project

General

Profile

« Previous | Next » 

Revision 4485

sql.py: run_query(): Parse "types cannot be matched" error as MissingCastException to type text

View differences:

lib/sql.py
558 558
                r'input has type "unknown"', msg)
559 559
            if match: raise MissingCastException('text', None, e)
560 560
            
561
            match = re.match(r'^.+? types .+? and .+? cannot be matched', msg)
562
            if match: raise MissingCastException('text', None, e)
563
            
561 564
            typed_name_re = r'^(\S+) "(.+?)"'
562 565
            
563 566
            match = re.match(typed_name_re+r'.*? already exists', msg)

Also available in: Unified diff