System.Posix.Error
| Copyright | (c) The University of Glasgow 2002 |
|---|---|
| License | BSD-style (see the file libraries/base/LICENSE) |
| Maintainer | libraries@haskell.org |
| Stability | provisional |
| Portability | non-portable (requires POSIX) |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Описание
Поддержка ошибок POSIX
throwErrnoPath :: String -> FilePath -> IO a Source
как throwErrno, но исключения включают указанный путь при необходимости.
throwErrnoPathIf :: (a -> Bool) -> String -> FilePath -> IO a -> IO a Source
как throwErrnoIf, но исключения включают указанный путь при необходимости.
throwErrnoPathIf_ :: (a -> Bool) -> String -> FilePath -> IO a -> IO () Source
как throwErrnoIf_, но исключения включают указанный путь при необходимости.
throwErrnoPathIfRetry :: (a -> Bool) -> String -> FilePath -> IO a -> IO a Source
throwErrnoPathIfNull :: String -> FilePath -> IO (Ptr a) -> IO (Ptr a) Source
как throwErrnoIfNull, но исключения включают указанный путь при необходимости.
throwErrnoPathIfNullRetry :: String -> FilePath -> IO (Ptr a) -> IO (Ptr a) Source
throwErrnoPathIfMinus1 :: (Eq a, Num a) => String -> FilePath -> IO a -> IO a Source
как throwErrnoIfMinus1, но исключения включают указанный путь при необходимости.
throwErrnoPathIfMinus1_ :: (Eq a, Num a) => String -> FilePath -> IO a -> IO () Source
как throwErrnoIfMinus1_, но исключения включают указанный путь при необходимости.
throwErrnoPathIfMinus1Retry :: (Eq a, Num a) => String -> FilePath -> IO a -> IO a Source
throwErrnoPathIfMinus1Retry_ :: (Eq a, Num a) => String -> FilePath -> IO a -> IO () Source
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/unix-2.7.1.0/System-Posix-Error.html