Revision 3554
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
609 | 609 |
|
610 | 610 |
suppress_exc = 'NULL;\n'; |
611 | 611 |
|
612 |
reraise_exc = 'RAISE USING ERRCODE = SQLSTATE, MESSAGE = SQLERRM;\n'; |
|
613 |
|
|
612 | 614 |
class ExcHandler(BaseExcHandler): |
613 | 615 |
def __init__(self, exc, handler=None): |
614 | 616 |
if handler != None: handler = as_Code(handler) |
Also available in: Unified diff
sql_gen.py: Added reraise_exc