<!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 >System.IO.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" >System.IO.Error</DIV ><DIV CLASS="mini-synopsis" ><H1 >I/O errors </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="System-IO-Error.html#t%3AIOError" TARGET="main" >IOError</A > </DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AuserError" TARGET="main" >userError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AmkIOError" TARGET="main" >mkIOError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AannotateIOError" TARGET="main" >annotateIOError</A ></DIV > <H2 >Classifying I/O errors </H2 > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisAlreadyExistsError" TARGET="main" >isAlreadyExistsError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisDoesNotExistError" TARGET="main" >isDoesNotExistError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisAlreadyInUseError" TARGET="main" >isAlreadyInUseError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisFullError" TARGET="main" >isFullError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisEOFError" TARGET="main" >isEOFError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisIllegalOperation" TARGET="main" >isIllegalOperation</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisPermissionError" TARGET="main" >isPermissionError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisUserError" TARGET="main" >isUserError</A ></DIV > <H2 >Attributes of I/O errors </H2 > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeGetErrorType" TARGET="main" >ioeGetErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeGetLocation" TARGET="main" >ioeGetLocation</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeGetErrorString" TARGET="main" >ioeGetErrorString</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeGetHandle" TARGET="main" >ioeGetHandle</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeGetFileName" TARGET="main" >ioeGetFileName</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeSetErrorType" TARGET="main" >ioeSetErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeSetErrorString" TARGET="main" >ioeSetErrorString</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeSetLocation" TARGET="main" >ioeSetLocation</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeSetHandle" TARGET="main" >ioeSetHandle</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioeSetFileName" TARGET="main" >ioeSetFileName</A ></DIV > <H1 >Types of I/O error </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="System-IO-Error.html#t%3AIOErrorType" TARGET="main" >IOErrorType</A > </DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AalreadyExistsErrorType" TARGET="main" >alreadyExistsErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AdoesNotExistErrorType" TARGET="main" >doesNotExistErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AalreadyInUseErrorType" TARGET="main" >alreadyInUseErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AfullErrorType" TARGET="main" >fullErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AeofErrorType" TARGET="main" >eofErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AillegalOperationErrorType" TARGET="main" >illegalOperationErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3ApermissionErrorType" TARGET="main" >permissionErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AuserErrorType" TARGET="main" >userErrorType</A ></DIV > <H2 ><TT ><A HREF="System-IO-Error.html#t%3AIOErrorType" >IOErrorType</A ></TT > predicates </H2 > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisAlreadyExistsErrorType" TARGET="main" >isAlreadyExistsErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisDoesNotExistErrorType" TARGET="main" >isDoesNotExistErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisAlreadyInUseErrorType" TARGET="main" >isAlreadyInUseErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisFullErrorType" TARGET="main" >isFullErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisEOFErrorType" TARGET="main" >isEOFErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisIllegalOperationErrorType" TARGET="main" >isIllegalOperationErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisPermissionErrorType" TARGET="main" >isPermissionErrorType</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AisUserErrorType" TARGET="main" >isUserErrorType</A ></DIV > <H1 >Throwing and catching I/O errors </H1 > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AioError" TARGET="main" >ioError</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3Atry" TARGET="main" >try</A ></DIV > <DIV CLASS="decl" ><A HREF="System-IO-Error.html#v%3AmodifyIOError" TARGET="main" >modifyIOError</A ></DIV ></DIV ></DIV ></BODY ></HTML >