hpqtypes-1.5.1.1: Haskell bindings to libpqtypes

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.Internal.Exception

Description

Definition of main exception type.

Synopsis

Documentation

data DBException Source #

Main exception type. All exceptions thrown by the library are additionally wrapped in this type.

Constructors

(Exception e, Show sql) => DBException 

Fields

rethrowWithContext :: IsSQL sql => sql -> SomeException -> IO a Source #

Rethrow supplied exception enriched with given SQL.