sqlite-simple-errors-0.4.0.0: Wrapper around errors from sqlite-simple

Safe HaskellNone
LanguageHaskell2010

Database.SQLite.SimpleErrors.Types

Synopsis

Documentation

data Constraint Source #

Constraint represents the kind of constraint violation returned by SQLite.

Constructors

NotNull 
ForeignKey 
Unique 
Check 

data SQLiteResponse Source #

SQLiteResponse is a wrapper around the different kinds of errors that can be returned frm sqlite-simple. If there is a constraint error, then we will construnct a SQLConstraintError instance.