<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Data.Text.Encoding.Error</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >Data.Text.Encoding.Error</DIV ><DIV CLASS="mini-synopsis" ><H1 >Error handling types </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Data-Text-Encoding-Error.html#t%3AUnicodeException" TARGET="main" >UnicodeException</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Data-Text-Encoding-Error.html#t%3AOnError" TARGET="main" >OnError</A > a b</DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Data-Text-Encoding-Error.html#t%3AOnDecodeError" TARGET="main" >OnDecodeError</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Data-Text-Encoding-Error.html#t%3AOnEncodeError" TARGET="main" >OnEncodeError</A > </DIV > <H1 >Useful error handling functions </H1 > <DIV CLASS="decl" ><A HREF="Data-Text-Encoding-Error.html#v%3AlenientDecode" TARGET="main" >lenientDecode</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-Text-Encoding-Error.html#v%3AstrictDecode" TARGET="main" >strictDecode</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-Text-Encoding-Error.html#v%3AstrictEncode" TARGET="main" >strictEncode</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-Text-Encoding-Error.html#v%3Aignore" TARGET="main" >ignore</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-Text-Encoding-Error.html#v%3Areplace" TARGET="main" >replace</A ></DIV ></DIV ></DIV ></BODY ></HTML >