encoding-0.6.3: A library for various character encodings

Data.Encoding.Exception

Synopsis

Documentation

data DecodingException Source

This exception type is thrown whenever something went wrong during the decoding-process.

Constructors

IllegalCharacter Word8

The sequence contained an illegal byte that couldn't be decoded.

UnexpectedEnd

more bytes were needed to allow a successfull decoding.

OutOfRange

the decoded value was out of the unicode range

IllegalRepresentation [Word8]

The character sequence encodes a character, but is illegal.