factor/basis/db/errors/errors.factor

21 lines
450 B
Factor
Raw Normal View History

2008-05-30 19:00:42 -04:00
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel db.private ;
2008-05-30 19:00:42 -04:00
IN: db.errors
HOOK: parse-db-error db-connection ( error -- error' )
2008-05-30 19:00:42 -04:00
ERROR: db-error ;
ERROR: sql-error ;
ERROR: table-exists ;
ERROR: bad-schema ;
ERROR: sql-syntax-error error ;
ERROR: sql-table-exists table ;
C: <sql-table-exists> sql-table-exists
ERROR: sql-table-missing table ;
C: <sql-table-missing> sql-table-missing