| Portability | Rank2Types |
|---|---|
| Stability | experimental |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Safe Haskell | None |
System.IO.Error.Lens
Contents
Description
- location :: (AsIOException (->) f t, Functor f) => LensLike' f t String
- description :: (AsIOException (->) f t, Functor f) => LensLike' f t String
- handle :: (AsIOException (->) f t, Functor f) => LensLike' f t (Maybe Handle)
- fileName :: (AsIOException (->) f t, Functor f) => LensLike' f t (Maybe FilePath)
- errno :: (AsIOException (->) f t, Functor f) => LensLike' f t (Maybe CInt)
- errorType :: (AsIOException (->) f t, Functor f) => LensLike' f t IOErrorType
- _Interrupted :: Prism' IOErrorType ()
- _ResourceVanished :: Prism' IOErrorType ()
- _TimeExpired :: Prism' IOErrorType ()
- _UnsupportedOperation :: Prism' IOErrorType ()
- _HardwareFault :: Prism' IOErrorType ()
- _InappropriateType :: Prism' IOErrorType ()
- _InvalidArgument :: Prism' IOErrorType ()
- _OtherError :: Prism' IOErrorType ()
- _ProtocolError :: Prism' IOErrorType ()
- _SystemError :: Prism' IOErrorType ()
- _UnsatisfiedConstraints :: Prism' IOErrorType ()
- _UserError :: Prism' IOErrorType ()
- _PermissionDenied :: Prism' IOErrorType ()
- _IllegalOperation :: Prism' IOErrorType ()
- _EOF :: Prism' IOErrorType ()
- _ResourceExhausted :: Prism' IOErrorType ()
- _ResourceBusy :: Prism' IOErrorType ()
- _NoSuchThing :: Prism' IOErrorType ()
- _AlreadyExists :: Prism' IOErrorType ()
IOException Lenses
location :: (AsIOException (->) f t, Functor f) => LensLike' f t StringSource
Where the error happened.
location::Lens'IOExceptionStringlocation::Traversal'SomeExceptionString
description :: (AsIOException (->) f t, Functor f) => LensLike' f t StringSource
Error type specific information.
description::Lens'IOExceptionStringdescription::Traversal'SomeExceptionString
handle :: (AsIOException (->) f t, Functor f) => LensLike' f t (Maybe Handle)Source
The handle used by the action flagging this error.
handle::Lens'IOException(MaybeHandle)handle::Traversal'SomeException(MaybeHandle)
fileName :: (AsIOException (->) f t, Functor f) => LensLike' f t (Maybe FilePath)Source
fileName the error is related to.
fileName::Lens'IOException(MaybeFilePath)fileName::Traversal'SomeException(MaybeFilePath)
errno :: (AsIOException (->) f t, Functor f) => LensLike' f t (Maybe CInt)Source
errno leading to this error, if any.
errno::Lens'IOException(MaybeFilePath)errno::Traversal'SomeException(MaybeFilePath)
errorType :: (AsIOException (->) f t, Functor f) => LensLike' f t IOErrorTypeSource
What type of error it is
errorType::Lens'IOExceptionIOErrorTypeerrorType::Traversal'SomeExceptionIOErrorType
IOErrorType Prisms
_EOF :: Prism' IOErrorType ()Source