module Polysemy.Db.Data.DbConnectionError where

data DbConnectionError =
  Acquire Text
  |
  Release Text
  |
  Query Text
  |
  Limit Text
  deriving stock (DbConnectionError -> DbConnectionError -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DbConnectionError -> DbConnectionError -> Bool
$c/= :: DbConnectionError -> DbConnectionError -> Bool
== :: DbConnectionError -> DbConnectionError -> Bool
$c== :: DbConnectionError -> DbConnectionError -> Bool
Eq, Int -> DbConnectionError -> ShowS
[DbConnectionError] -> ShowS
DbConnectionError -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DbConnectionError] -> ShowS
$cshowList :: [DbConnectionError] -> ShowS
show :: DbConnectionError -> String
$cshow :: DbConnectionError -> String
showsPrec :: Int -> DbConnectionError -> ShowS
$cshowsPrec :: Int -> DbConnectionError -> ShowS
Show, forall x. Rep DbConnectionError x -> DbConnectionError
forall x. DbConnectionError -> Rep DbConnectionError x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DbConnectionError x -> DbConnectionError
$cfrom :: forall x. DbConnectionError -> Rep DbConnectionError x
Generic)