module Database.PostgreSQL.PQTypes.Internal.Error (
DetailedQueryError(..)
, QueryError(..)
, HPQTypesError(..)
, LibPQError(..)
, ConversionError(..)
, ArrayItemError(..)
, InvalidValue(..)
, RangeError(..)
, ArrayDimensionMismatch(..)
, RowLengthMismatch(..)
, AffectedRowsMismatch(..)
) where
import Data.Typeable
import qualified Control.Exception as E
import Database.PostgreSQL.PQTypes.Internal.Error.Code
data DetailedQueryError = DetailedQueryError
{ DetailedQueryError -> String
qeSeverity :: !String
, DetailedQueryError -> ErrorCode
qeErrorCode :: !ErrorCode
, DetailedQueryError -> String
qeMessagePrimary :: !String
, DetailedQueryError -> Maybe String
qeMessageDetail :: !(Maybe String)
, DetailedQueryError -> Maybe String
qeMessageHint :: !(Maybe String)
, DetailedQueryError -> Maybe Int
qeStatementPosition :: !(Maybe Int)
, DetailedQueryError -> Maybe Int
qeInternalPosition :: !(Maybe Int)
, DetailedQueryError -> Maybe String
qeInternalQuery :: !(Maybe String)
, DetailedQueryError -> Maybe String
qeContext :: !(Maybe String)
, DetailedQueryError -> Maybe String
qeSourceFile :: !(Maybe String)
, DetailedQueryError -> Maybe Int
qeSourceLine :: !(Maybe Int)
, DetailedQueryError -> Maybe String
qeSourceFunction :: !(Maybe String)
} deriving (DetailedQueryError -> DetailedQueryError -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DetailedQueryError -> DetailedQueryError -> Bool
$c/= :: DetailedQueryError -> DetailedQueryError -> Bool
== :: DetailedQueryError -> DetailedQueryError -> Bool
$c== :: DetailedQueryError -> DetailedQueryError -> Bool
Eq, Eq DetailedQueryError
DetailedQueryError -> DetailedQueryError -> Bool
DetailedQueryError -> DetailedQueryError -> Ordering
DetailedQueryError -> DetailedQueryError -> DetailedQueryError
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: DetailedQueryError -> DetailedQueryError -> DetailedQueryError
$cmin :: DetailedQueryError -> DetailedQueryError -> DetailedQueryError
max :: DetailedQueryError -> DetailedQueryError -> DetailedQueryError
$cmax :: DetailedQueryError -> DetailedQueryError -> DetailedQueryError
>= :: DetailedQueryError -> DetailedQueryError -> Bool
$c>= :: DetailedQueryError -> DetailedQueryError -> Bool
> :: DetailedQueryError -> DetailedQueryError -> Bool
$c> :: DetailedQueryError -> DetailedQueryError -> Bool
<= :: DetailedQueryError -> DetailedQueryError -> Bool
$c<= :: DetailedQueryError -> DetailedQueryError -> Bool
< :: DetailedQueryError -> DetailedQueryError -> Bool
$c< :: DetailedQueryError -> DetailedQueryError -> Bool
compare :: DetailedQueryError -> DetailedQueryError -> Ordering
$ccompare :: DetailedQueryError -> DetailedQueryError -> Ordering
Ord, Int -> DetailedQueryError -> ShowS
[DetailedQueryError] -> ShowS
DetailedQueryError -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DetailedQueryError] -> ShowS
$cshowList :: [DetailedQueryError] -> ShowS
show :: DetailedQueryError -> String
$cshow :: DetailedQueryError -> String
showsPrec :: Int -> DetailedQueryError -> ShowS
$cshowsPrec :: Int -> DetailedQueryError -> ShowS
Show)
newtype QueryError = QueryError String
deriving (QueryError -> QueryError -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: QueryError -> QueryError -> Bool
$c/= :: QueryError -> QueryError -> Bool
== :: QueryError -> QueryError -> Bool
$c== :: QueryError -> QueryError -> Bool
Eq, Eq QueryError
QueryError -> QueryError -> Bool
QueryError -> QueryError -> Ordering
QueryError -> QueryError -> QueryError
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: QueryError -> QueryError -> QueryError
$cmin :: QueryError -> QueryError -> QueryError
max :: QueryError -> QueryError -> QueryError
$cmax :: QueryError -> QueryError -> QueryError
>= :: QueryError -> QueryError -> Bool
$c>= :: QueryError -> QueryError -> Bool
> :: QueryError -> QueryError -> Bool
$c> :: QueryError -> QueryError -> Bool
<= :: QueryError -> QueryError -> Bool
$c<= :: QueryError -> QueryError -> Bool
< :: QueryError -> QueryError -> Bool
$c< :: QueryError -> QueryError -> Bool
compare :: QueryError -> QueryError -> Ordering
$ccompare :: QueryError -> QueryError -> Ordering
Ord, Int -> QueryError -> ShowS
[QueryError] -> ShowS
QueryError -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [QueryError] -> ShowS
$cshowList :: [QueryError] -> ShowS
show :: QueryError -> String
$cshow :: QueryError -> String
showsPrec :: Int -> QueryError -> ShowS
$cshowsPrec :: Int -> QueryError -> ShowS
Show)
newtype HPQTypesError = HPQTypesError String
deriving (HPQTypesError -> HPQTypesError -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: HPQTypesError -> HPQTypesError -> Bool
$c/= :: HPQTypesError -> HPQTypesError -> Bool
== :: HPQTypesError -> HPQTypesError -> Bool
$c== :: HPQTypesError -> HPQTypesError -> Bool
Eq, Eq HPQTypesError
HPQTypesError -> HPQTypesError -> Bool
HPQTypesError -> HPQTypesError -> Ordering
HPQTypesError -> HPQTypesError -> HPQTypesError
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: HPQTypesError -> HPQTypesError -> HPQTypesError
$cmin :: HPQTypesError -> HPQTypesError -> HPQTypesError
max :: HPQTypesError -> HPQTypesError -> HPQTypesError
$cmax :: HPQTypesError -> HPQTypesError -> HPQTypesError
>= :: HPQTypesError -> HPQTypesError -> Bool
$c>= :: HPQTypesError -> HPQTypesError -> Bool
> :: HPQTypesError -> HPQTypesError -> Bool
$c> :: HPQTypesError -> HPQTypesError -> Bool
<= :: HPQTypesError -> HPQTypesError -> Bool
$c<= :: HPQTypesError -> HPQTypesError -> Bool
< :: HPQTypesError -> HPQTypesError -> Bool
$c< :: HPQTypesError -> HPQTypesError -> Bool
compare :: HPQTypesError -> HPQTypesError -> Ordering
$ccompare :: HPQTypesError -> HPQTypesError -> Ordering
Ord)
instance Show HPQTypesError where
show :: HPQTypesError -> String
show (HPQTypesError String
s) = String
"HPQTypesError (PostgreSQL): " forall a. Semigroup a => a -> a -> a
<> String
s
newtype LibPQError = LibPQError String
deriving (LibPQError -> LibPQError -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LibPQError -> LibPQError -> Bool
$c/= :: LibPQError -> LibPQError -> Bool
== :: LibPQError -> LibPQError -> Bool
$c== :: LibPQError -> LibPQError -> Bool
Eq, Eq LibPQError
LibPQError -> LibPQError -> Bool
LibPQError -> LibPQError -> Ordering
LibPQError -> LibPQError -> LibPQError
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: LibPQError -> LibPQError -> LibPQError
$cmin :: LibPQError -> LibPQError -> LibPQError
max :: LibPQError -> LibPQError -> LibPQError
$cmax :: LibPQError -> LibPQError -> LibPQError
>= :: LibPQError -> LibPQError -> Bool
$c>= :: LibPQError -> LibPQError -> Bool
> :: LibPQError -> LibPQError -> Bool
$c> :: LibPQError -> LibPQError -> Bool
<= :: LibPQError -> LibPQError -> Bool
$c<= :: LibPQError -> LibPQError -> Bool
< :: LibPQError -> LibPQError -> Bool
$c< :: LibPQError -> LibPQError -> Bool
compare :: LibPQError -> LibPQError -> Ordering
$ccompare :: LibPQError -> LibPQError -> Ordering
Ord)
instance Show LibPQError where
show :: LibPQError -> String
show (LibPQError String
s) = String
"LibPQError (PostgreSQL): " forall a. Semigroup a => a -> a -> a
<> String
s
data ConversionError = forall e. E.Exception e => ConversionError
{
ConversionError -> Int
convColumn :: !Int
, ConversionError -> String
convColumnName :: !String
, ConversionError -> Int
convRow :: !Int
, ()
convError :: !e
}
deriving instance Show ConversionError
data ArrayItemError = forall e. E.Exception e => ArrayItemError
{
ArrayItemError -> Int
arrItemIndex :: !Int
, ()
arrItemError :: !e
}
deriving instance Show ArrayItemError
data InvalidValue t = InvalidValue
{
forall t. InvalidValue t -> t
ivValue :: t
, forall t. InvalidValue t -> Maybe [t]
ivValidValues :: Maybe [t]
} deriving (InvalidValue t -> InvalidValue t -> Bool
forall t. Eq t => InvalidValue t -> InvalidValue t -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InvalidValue t -> InvalidValue t -> Bool
$c/= :: forall t. Eq t => InvalidValue t -> InvalidValue t -> Bool
== :: InvalidValue t -> InvalidValue t -> Bool
$c== :: forall t. Eq t => InvalidValue t -> InvalidValue t -> Bool
Eq, InvalidValue t -> InvalidValue t -> Bool
InvalidValue t -> InvalidValue t -> Ordering
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
forall {t}. Ord t => Eq (InvalidValue t)
forall t. Ord t => InvalidValue t -> InvalidValue t -> Bool
forall t. Ord t => InvalidValue t -> InvalidValue t -> Ordering
forall t.
Ord t =>
InvalidValue t -> InvalidValue t -> InvalidValue t
min :: InvalidValue t -> InvalidValue t -> InvalidValue t
$cmin :: forall t.
Ord t =>
InvalidValue t -> InvalidValue t -> InvalidValue t
max :: InvalidValue t -> InvalidValue t -> InvalidValue t
$cmax :: forall t.
Ord t =>
InvalidValue t -> InvalidValue t -> InvalidValue t
>= :: InvalidValue t -> InvalidValue t -> Bool
$c>= :: forall t. Ord t => InvalidValue t -> InvalidValue t -> Bool
> :: InvalidValue t -> InvalidValue t -> Bool
$c> :: forall t. Ord t => InvalidValue t -> InvalidValue t -> Bool
<= :: InvalidValue t -> InvalidValue t -> Bool
$c<= :: forall t. Ord t => InvalidValue t -> InvalidValue t -> Bool
< :: InvalidValue t -> InvalidValue t -> Bool
$c< :: forall t. Ord t => InvalidValue t -> InvalidValue t -> Bool
compare :: InvalidValue t -> InvalidValue t -> Ordering
$ccompare :: forall t. Ord t => InvalidValue t -> InvalidValue t -> Ordering
Ord, Int -> InvalidValue t -> ShowS
forall t. Show t => Int -> InvalidValue t -> ShowS
forall t. Show t => [InvalidValue t] -> ShowS
forall t. Show t => InvalidValue t -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InvalidValue t] -> ShowS
$cshowList :: forall t. Show t => [InvalidValue t] -> ShowS
show :: InvalidValue t -> String
$cshow :: forall t. Show t => InvalidValue t -> String
showsPrec :: Int -> InvalidValue t -> ShowS
$cshowsPrec :: forall t. Show t => Int -> InvalidValue t -> ShowS
Show)
data RangeError t = RangeError
{
forall t. RangeError t -> [(t, t)]
reRange :: [(t, t)]
, forall t. RangeError t -> t
reValue :: t
} deriving (RangeError t -> RangeError t -> Bool
forall t. Eq t => RangeError t -> RangeError t -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RangeError t -> RangeError t -> Bool
$c/= :: forall t. Eq t => RangeError t -> RangeError t -> Bool
== :: RangeError t -> RangeError t -> Bool
$c== :: forall t. Eq t => RangeError t -> RangeError t -> Bool
Eq, RangeError t -> RangeError t -> Bool
RangeError t -> RangeError t -> Ordering
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
forall {t}. Ord t => Eq (RangeError t)
forall t. Ord t => RangeError t -> RangeError t -> Bool
forall t. Ord t => RangeError t -> RangeError t -> Ordering
forall t. Ord t => RangeError t -> RangeError t -> RangeError t
min :: RangeError t -> RangeError t -> RangeError t
$cmin :: forall t. Ord t => RangeError t -> RangeError t -> RangeError t
max :: RangeError t -> RangeError t -> RangeError t
$cmax :: forall t. Ord t => RangeError t -> RangeError t -> RangeError t
>= :: RangeError t -> RangeError t -> Bool
$c>= :: forall t. Ord t => RangeError t -> RangeError t -> Bool
> :: RangeError t -> RangeError t -> Bool
$c> :: forall t. Ord t => RangeError t -> RangeError t -> Bool
<= :: RangeError t -> RangeError t -> Bool
$c<= :: forall t. Ord t => RangeError t -> RangeError t -> Bool
< :: RangeError t -> RangeError t -> Bool
$c< :: forall t. Ord t => RangeError t -> RangeError t -> Bool
compare :: RangeError t -> RangeError t -> Ordering
$ccompare :: forall t. Ord t => RangeError t -> RangeError t -> Ordering
Ord, Int -> RangeError t -> ShowS
forall t. Show t => Int -> RangeError t -> ShowS
forall t. Show t => [RangeError t] -> ShowS
forall t. Show t => RangeError t -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RangeError t] -> ShowS
$cshowList :: forall t. Show t => [RangeError t] -> ShowS
show :: RangeError t -> String
$cshow :: forall t. Show t => RangeError t -> String
showsPrec :: Int -> RangeError t -> ShowS
$cshowsPrec :: forall t. Show t => Int -> RangeError t -> ShowS
Show)
data ArrayDimensionMismatch = ArrayDimensionMismatch
{
ArrayDimensionMismatch -> Int
arrDimExpected :: !Int
, ArrayDimensionMismatch -> Int
arrDimDelivered :: !Int
} deriving (ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
$c/= :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
== :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
$c== :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
Eq, Eq ArrayDimensionMismatch
ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
ArrayDimensionMismatch -> ArrayDimensionMismatch -> Ordering
ArrayDimensionMismatch
-> ArrayDimensionMismatch -> ArrayDimensionMismatch
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: ArrayDimensionMismatch
-> ArrayDimensionMismatch -> ArrayDimensionMismatch
$cmin :: ArrayDimensionMismatch
-> ArrayDimensionMismatch -> ArrayDimensionMismatch
max :: ArrayDimensionMismatch
-> ArrayDimensionMismatch -> ArrayDimensionMismatch
$cmax :: ArrayDimensionMismatch
-> ArrayDimensionMismatch -> ArrayDimensionMismatch
>= :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
$c>= :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
> :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
$c> :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
<= :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
$c<= :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
< :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
$c< :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Bool
compare :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Ordering
$ccompare :: ArrayDimensionMismatch -> ArrayDimensionMismatch -> Ordering
Ord, Int -> ArrayDimensionMismatch -> ShowS
[ArrayDimensionMismatch] -> ShowS
ArrayDimensionMismatch -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ArrayDimensionMismatch] -> ShowS
$cshowList :: [ArrayDimensionMismatch] -> ShowS
show :: ArrayDimensionMismatch -> String
$cshow :: ArrayDimensionMismatch -> String
showsPrec :: Int -> ArrayDimensionMismatch -> ShowS
$cshowsPrec :: Int -> ArrayDimensionMismatch -> ShowS
Show)
data RowLengthMismatch = RowLengthMismatch
{
RowLengthMismatch -> Int
lengthExpected :: !Int
, RowLengthMismatch -> Int
lengthDelivered :: !Int
} deriving (RowLengthMismatch -> RowLengthMismatch -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RowLengthMismatch -> RowLengthMismatch -> Bool
$c/= :: RowLengthMismatch -> RowLengthMismatch -> Bool
== :: RowLengthMismatch -> RowLengthMismatch -> Bool
$c== :: RowLengthMismatch -> RowLengthMismatch -> Bool
Eq, Eq RowLengthMismatch
RowLengthMismatch -> RowLengthMismatch -> Bool
RowLengthMismatch -> RowLengthMismatch -> Ordering
RowLengthMismatch -> RowLengthMismatch -> RowLengthMismatch
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: RowLengthMismatch -> RowLengthMismatch -> RowLengthMismatch
$cmin :: RowLengthMismatch -> RowLengthMismatch -> RowLengthMismatch
max :: RowLengthMismatch -> RowLengthMismatch -> RowLengthMismatch
$cmax :: RowLengthMismatch -> RowLengthMismatch -> RowLengthMismatch
>= :: RowLengthMismatch -> RowLengthMismatch -> Bool
$c>= :: RowLengthMismatch -> RowLengthMismatch -> Bool
> :: RowLengthMismatch -> RowLengthMismatch -> Bool
$c> :: RowLengthMismatch -> RowLengthMismatch -> Bool
<= :: RowLengthMismatch -> RowLengthMismatch -> Bool
$c<= :: RowLengthMismatch -> RowLengthMismatch -> Bool
< :: RowLengthMismatch -> RowLengthMismatch -> Bool
$c< :: RowLengthMismatch -> RowLengthMismatch -> Bool
compare :: RowLengthMismatch -> RowLengthMismatch -> Ordering
$ccompare :: RowLengthMismatch -> RowLengthMismatch -> Ordering
Ord, Int -> RowLengthMismatch -> ShowS
[RowLengthMismatch] -> ShowS
RowLengthMismatch -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RowLengthMismatch] -> ShowS
$cshowList :: [RowLengthMismatch] -> ShowS
show :: RowLengthMismatch -> String
$cshow :: RowLengthMismatch -> String
showsPrec :: Int -> RowLengthMismatch -> ShowS
$cshowsPrec :: Int -> RowLengthMismatch -> ShowS
Show)
data AffectedRowsMismatch = AffectedRowsMismatch
{
AffectedRowsMismatch -> [(Int, Int)]
rowsExpected :: ![(Int, Int)]
, AffectedRowsMismatch -> Int
rowsDelivered :: !Int
} deriving (AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
$c/= :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
== :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
$c== :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
Eq, Eq AffectedRowsMismatch
AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
AffectedRowsMismatch -> AffectedRowsMismatch -> Ordering
AffectedRowsMismatch
-> AffectedRowsMismatch -> AffectedRowsMismatch
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: AffectedRowsMismatch
-> AffectedRowsMismatch -> AffectedRowsMismatch
$cmin :: AffectedRowsMismatch
-> AffectedRowsMismatch -> AffectedRowsMismatch
max :: AffectedRowsMismatch
-> AffectedRowsMismatch -> AffectedRowsMismatch
$cmax :: AffectedRowsMismatch
-> AffectedRowsMismatch -> AffectedRowsMismatch
>= :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
$c>= :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
> :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
$c> :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
<= :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
$c<= :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
< :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
$c< :: AffectedRowsMismatch -> AffectedRowsMismatch -> Bool
compare :: AffectedRowsMismatch -> AffectedRowsMismatch -> Ordering
$ccompare :: AffectedRowsMismatch -> AffectedRowsMismatch -> Ordering
Ord, Int -> AffectedRowsMismatch -> ShowS
[AffectedRowsMismatch] -> ShowS
AffectedRowsMismatch -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AffectedRowsMismatch] -> ShowS
$cshowList :: [AffectedRowsMismatch] -> ShowS
show :: AffectedRowsMismatch -> String
$cshow :: AffectedRowsMismatch -> String
showsPrec :: Int -> AffectedRowsMismatch -> ShowS
$cshowsPrec :: Int -> AffectedRowsMismatch -> ShowS
Show)
instance E.Exception DetailedQueryError
instance E.Exception QueryError
instance E.Exception HPQTypesError
instance E.Exception LibPQError
instance E.Exception ConversionError
instance E.Exception ArrayItemError
instance (Show t, Typeable t) => E.Exception (InvalidValue t)
instance (Show t, Typeable t) => E.Exception (RangeError t)
instance E.Exception ArrayDimensionMismatch
instance E.Exception RowLengthMismatch
instance E.Exception AffectedRowsMismatch