git.iko.soy/typeable/http-api-data
on master help sign in
Fix spelling in error message.

The 'r' in 'underflow' was missing.

commite56d54214fe31537649d8144ca79d278141fec9a author(cdep)illabout <cdep.illabout@gmail.com> dateSat 4 Feb 2017, 10:18 (10 years ago) parentebb82fd
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