Skip to content

Commit 174b5ff

Browse files
committed
Add Eq instance for PgNamedError
1 parent 431e930 commit 174b5ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PgNamed.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ data PgNamedError
7777
| PgNoNames PG.Query
7878
-- | Query contains an empty name.
7979
| PgEmptyName PG.Query
80+
deriving (Eq)
8081

8182

8283
-- | Type alias for monads that can throw errors of the 'PgNamedError' type.

0 commit comments

Comments
 (0)