as throwErrnoIf, but discards the result of the IO action after error handling.
Modulererebase-1.21.2Haskell2010
Foreign.C.Error
- 1 type
- 126 values
- Packagererebase-1.21.2
- Exports127
- LanguageHaskell2010
- LicenceMIT
- SourceError.hs
as throwErrnoIfMinus1, but exceptions include the given path when appropriate.
Haskell representation for errno values.
The implementation is deliberately exposed, to allow users to add
their own definitions of Errno values.
errnoToIOError Get the current value of errno in the current thread.
On GHC, the runtime will ensure that any Haskell thread will only see "its own"
errno, by saving and restoring the value when Haskell threads are scheduled
across OS threads.
as throwErrnoIfMinus1, but discards the result.
as throwErrnoIfMinus1, but discards the result.
Reset the current thread's errno value to eOK.
throwErrnoIf as throwErrnoIfMinus1Retry, but checks for operations that would block.
as throwErrnoIfMinus1RetryMayBlock, but discards the result.
as throwErrnoIfNullRetry, but checks for operations that would block.
as throwErrnoIf, but retry the IO action when it yields the error code eINTR - this amounts to the standard retry loop for interrupted POSIX system calls.
as throwErrnoIfRetry, but additionally if the operation yields the error code eAGAIN or eWOULDBLOCK, an alternative action is executed before retrying.
as throwErrnoIfRetryMayBlock, but discards the result.
as throwErrnoIfRetry, but discards the result.
as throwErrno, but exceptions include the given path when appropriate.
as throwErrnoIf, but exceptions include the given path when appropriate.
as throwErrnoIfMinus1_, but exceptions include the given path when appropriate.
as throwErrnoIfNull, but exceptions include the given path when appropriate.
as throwErrnoIf_, but exceptions include the given path when appropriate.