1. dafis
  2. text


Bryan O'Sullivan  committed 2c23ebb

Improve error message.

  • Participants
  • Parent commits a763424
  • Branches default

Comments (0)

Files changed (1)

File Data/Text/Encoding.hs

View file
  • Ignore whitespace
   desc = "Data.Text.Encoding.decodeUtf8: Invalid UTF-8 stream"
 {-# INLINE[0] decodeUtf8With #-}
--- | Decode a 'ByteString' containing known-valid UTF-8 encoded text.
+-- | Decode a 'ByteString' containing UTF-8 encoded text that is known
+-- to be valid.
 -- If the input contains any invalid UTF-8 data, an exception will be
 -- thrown that cannot be caught in pure code.  For more control over