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

Copyright(c) Joseph Canero 2016
LicenseBSD-3
Maintainerjmc41493@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Database.SQLite.SimpleErrors.Types

Description

 

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.