| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.SQLite.SimpleErrors.Types
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