git.iko.soy/typeable/http-api-data
on master help sign in
Merge pull request #46 from cdepillabout/fix-spelling

Fix spelling in error message.

commitf55c9dbb313d2c34723e73e2072f4581d170ada2 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSat 4 Feb 2017, 11:04 (10 years ago) parentebb82fde56d542
1 file changed+1−1
src/Web/Internal/HttpApiData.hs+1−1
src/Web/Internal/HttpApiData.hs+1−1
@@ -508,7 +508,7 @@ instance FromHttpApiData Natural where
508508 parseUrlPiece s = do
509509 n <- runReader (signed decimal) s
510510 if n < 0
511− then Left ("undeflow: " <> s <> " (should be a non-negative integer)")
511+ then Left ("underflow: " <> s <> " (should be a non-negative integer)")
512512 else Right (fromInteger n)
513513#endif
514514