Skip to content

Commit ae3f669

Browse files
committed
feat: exception handling
1 parent 0d33b32 commit ae3f669

8 files changed

Lines changed: 1504 additions & 9 deletions

File tree

claude.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,19 @@ go tool pprof cpu.prof
517517
- **Multi-dialect support** - MySQL, PostgreSQL, SQL Server compatible syntax
518518
- **28+ comprehensive tests** - All passing across all control flow types
519519
- **450+ lines of examples** - Real-world scenarios in control_flow_examples.sql
520+
- **Exception Handling** ✅ 🆕
521+
- **TRY...CATCH** - SQL Server exception handling with BEGIN TRY/END TRY/BEGIN CATCH/END CATCH
522+
- **EXCEPTION...WHEN** - PostgreSQL/Oracle exception blocks with WHEN clauses
523+
- **DECLARE HANDLER** - MySQL handler declarations (CONTINUE, EXIT, UNDO)
524+
- **RAISE** - PostgreSQL error raising (EXCEPTION, NOTICE, WARNING, INFO, LOG, DEBUG)
525+
- **THROW** - SQL Server error throwing with error number, message, and state
526+
- **SIGNAL** - MySQL error signaling with SQLSTATE and properties
527+
- **Exception conditions** - SQLEXCEPTION, SQLWARNING, NOT FOUND, SQLSTATE, OTHERS
528+
- **Nested exception handling** - TRY within TRY, multiple WHEN clauses
529+
- **Re-raise support** - THROW and RAISE without parameters
530+
- **Multi-dialect support** - SQL Server, PostgreSQL, MySQL, Oracle syntax
531+
- **23+ comprehensive tests** - All passing across all exception types
532+
- **400+ lines of examples** - Real-world error handling scenarios in exception_handling_examples.sql
520533

521534
### 🚧 In Progress / Planned
522535
- [ ] Real-time log monitoring

0 commit comments

Comments
 (0)