Skip to content

Commit

Permalink
Fix spelling in error message.
Browse files Browse the repository at this point in the history
The 'r' in 'underflow' was missing.
  • Loading branch information
cdepillabout committed Feb 4, 2017
1 parent ebb82fd commit e56d542
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 e56d542

Please sign in to comment.