We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ZeroTries
1 parent ec31a21 commit 06dda47Copy full SHA for 06dda47
1 file changed
src/Network/HTTP/Download/Verified.hs
@@ -92,8 +92,6 @@ data VerifiedDownloadException
92
String -- algorithm
93
CheckHexDigest -- expected
94
String -- actual (shown)
95
- | ZeroTries
96
- Request
97
deriving (Typeable)
98
instance Show VerifiedDownloadException where
99
show (WrongContentLength req expected actual) =
@@ -111,10 +109,6 @@ instance Show VerifiedDownloadException where
111
109
++ "Expected: " ++ displayCheckHexDigest expected ++ "\n"
112
110
++ "Actual: " ++ actual ++ "\n"
113
++ "For: " ++ show (getUri req)
114
- show (ZeroTries req) =
115
- "Download expectation failure:\n"
116
- ++ "Download was needed but <= 0 retries were requested.\n"
117
- ++ "For: " ++ show (getUri req)
118
119
instance Exception VerifiedDownloadException
120
0 commit comments