| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Potoki.Hasql.Error
- data Error
- connectionError :: ConnectionError -> Error
- sessionError :: QueryError -> Error
Documentation
Error, which can be produced during interaction with the database. Comes packed with a detailed description of the problems.
Constructors
| ConnectionError Text | Connection error. Can be interpreted as a signal for reconnecting. |
| InteractionError Text | Some form of an interaction error. Can happen for many reasons related to improper suppositions about the state of the database. |
sessionError :: QueryError -> Error Source #