You should take a look at tcl's catch command. You could put all your SQLite code in one catch command,
if {[catch {
db eval begin ;# or maybe {begin on conflict rollback}
db eval {... }
db eval {... }
db eval {... }
db eval commit} err]} {
doSomething $err
}
or you could catch each 'db eval ...', or anything in between.
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

