Skip to content

Commit 843f02d

Browse files
authored
Add ability to distinguish between types of DnsException (#26)
1 parent 24c553d commit 843f02d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Network/DNS.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ data DnsException
120120
-- ^ No such domain (non-authoritative) or SERVERFAIL
121121
--
122122
-- @since 0.2.0.0
123-
deriving (Show, Typeable)
123+
deriving (Eq, Show, Typeable)
124124

125125
instance Exception DnsException
126126

0 commit comments

Comments
 (0)