| Copyright | (c) Joseph Canero 2016 | 
|---|---|
| License | BSD-3 | 
| Maintainer | jmc41493@gmail.com | 
| Stability | experimental | 
| Portability | POSIX | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Database.SQLite.SimpleErrors.Types
Description
Documentation
data Constraint Source #
Constraint represents the kind of constraint violation returned by SQLite.
Constructors
| NotNull | |
| ForeignKey | |
| Unique | |
| Check | 
Instances
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.
Constructors
| SQLConstraintError Constraint Text | |
| SQLFormatError FormatError | |
| SQLResultError ResultError | |
| SQLOtherError SQLError | 
Instances