lens-4.2: Lenses, Folds and Traversals

Copyright(C) 2012-2014 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
PortabilityRank2Types
Safe HaskellNone
LanguageHaskell98

System.IO.Error.Lens

Contents

Description

 

Synopsis

IOException Lenses

location :: Lens' IOException String Source

Where the error happened.

description :: Lens' IOException String Source

Error type specific information.

handle :: Lens' IOException (Maybe Handle) Source

The handle used by the action flagging this error.

fileName :: Lens' IOException (Maybe FilePath) Source

fileName the error is related to.

errno :: Lens' IOException (Maybe CInt) Source

errno leading to this error, if any.

errorType :: Lens' IOException IOErrorType Source

What type of error it is

IOErrorType Prisms