]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/db/sqlite/lib/lib.factor
change ERROR: words from throw-foo back to foo.
[factor.git] / basis / db / sqlite / lib / lib.factor
index 35ebfb12f76c2a0f439edb6889f1f849ab443001..1f954688be77606ece8487dc03781e5c986e708d 100644 (file)
@@ -12,11 +12,11 @@ ERROR: sqlite-error < db-error n string ;
 ERROR: sqlite-sql-error < sql-error n string ;
 
 : sqlite-other-error ( n -- * )
-    dup sqlite-error-messages nth throw-sqlite-error ;
+    dup sqlite-error-messages nth sqlite-error ;
 
 : sqlite-statement-error ( -- * )
     SQLITE_ERROR
-    db-connection get handle>> sqlite3_errmsg throw-sqlite-sql-error ;
+    db-connection get handle>> sqlite3_errmsg sqlite-sql-error ;
 
 : sqlite-check-result ( n -- )
     {