hsql-1.8.1: Simple library for database access from Haskell.
DB.HSQL.Core
Synopsis
closeHandleSource
Arguments
closing state ref
DB action to do if not closed
if closed, nothing to do:
checkHandleSource
if closed, exception:
sqlExceptionsSource
the exception thinc to cast to SQLError
Casts, if possible, an Exception to an SqlError:
catchSql :: IO a -> (SqlError -> IO a) -> IO aSource
DEPRECATED: catchSql: Use Control.Exception.catch instead.
handleSql :: (SqlError -> IO a) -> IO a -> IO aSource
DEPRECATED: handleSql: Use Control.Exception.handle instead.