Skip to content

Commit

Permalink
Merge pull request #46 from cdepillabout/fix-spelling
Browse files Browse the repository at this point in the history
Fix spelling in error message.
  • Loading branch information
phadej authored Feb 4, 2017
2 parents ebb82fd + e56d542 commit f55c9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Web/Internal/HttpApiData.hs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ instance FromHttpApiData Natural where
parseUrlPiece s = do
n <- runReader (signed decimal) s
if n < 0
then Left ("undeflow: " <> s <> " (should be a non-negative integer)")
then Left ("underflow: " <> s <> " (should be a non-negative integer)")
else Right (fromInteger n)
#endif

Expand Down

0 comments on commit f55c9db

Please sign in to comment.