preql-0.5: safe PostgreSQL queries using Quasiquoters
Safe HaskellNone
LanguageHaskell2010

Preql.Wire.Errors

Description

Errors raised by functions in Preql.Wire

Synopsis

Documentation

data FieldError Source #

A decoding error with information about the row & column of the result where it occured.

data PgType Source #

Constructors

Oid Oid

A Postgres type with a known ID

TypeName Text

A Postgres type which we will need to lookup by name

Instances

Instances details
Eq PgType Source # 
Instance details

Defined in Preql.Wire.Errors

Methods

(==) :: PgType -> PgType -> Bool #

(/=) :: PgType -> PgType -> Bool #

Show PgType Source # 
Instance details

Defined in Preql.Wire.Errors

ToJSON PgType Source # 
Instance details

Defined in Preql.Wire.Errors

FromJSON PgType Source # 
Instance details

Defined in Preql.Wire.Errors