hpqtypes-1.12.0.0: Haskell bindings to libpqtypes
Safe HaskellSafe-Inferred
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

forall e sql.(Exception e, Show sql) => DBException 

Fields

rethrowWithContext :: (HasCallStack, IsSQL sql) => sql -> BackendPid -> SomeException -> IO a Source #

Rethrow supplied exception enriched with given SQL.