Z-IO-0.4.0.0: Simple and high performance IO toolkit for Haskell
Copyright(c) Winterland 2017-2018
LicenseBSD
Maintainerdrkoster@qq.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Z.IO.UV.Errno

Description

INTERNAL MODULE, provides all libuv errno.

Synopsis

Documentation

uvStdError :: CInt -> IO Text Source #

Returns the error message for the given error code. Leaks a few bytes of memory when you call it with an unknown error code.

uvErrName :: CInt -> IO Text Source #

Returns the error name for the given error code. Leaks a few bytes of memory when you call it with an unknown error code.

pattern UV_E2BIG :: CInt Source #

argument list too long

pattern UV_EACCES :: CInt Source #

permission denied

pattern UV_EADDRINUSE :: CInt Source #

address already in use

pattern UV_EADDRNOTAVAIL :: CInt Source #

address not available

pattern UV_EAFNOSUPPORT :: CInt Source #

address family not supported

pattern UV_EAGAIN :: CInt Source #

resource temporarily unavailable

pattern UV_EAI_ADDRFAMILY :: CInt Source #

address family not supported

pattern UV_EAI_AGAIN :: CInt Source #

temporary failure

pattern UV_EAI_BADFLAGS :: CInt Source #

bad ai_flags value

pattern UV_EAI_BADHINTS :: CInt Source #

invalid value for hints

pattern UV_EAI_CANCELED :: CInt Source #

request canceled

pattern UV_EAI_FAIL :: CInt Source #

permanent failure

pattern UV_EAI_FAMILY :: CInt Source #

ai_family not supported

pattern UV_EAI_MEMORY :: CInt Source #

out of memory

pattern UV_EAI_NODATA :: CInt Source #

no address

pattern UV_EAI_NONAME :: CInt Source #

unknown node or service

pattern UV_EAI_OVERFLOW :: CInt Source #

argument buffer overflow

pattern UV_EAI_PROTOCOL :: CInt Source #

resolved protocol is unknown

pattern UV_EAI_SERVICE :: CInt Source #

service not available for socket type

pattern UV_EAI_SOCKTYPE :: CInt Source #

socket type not supported

pattern UV_EALREADY :: CInt Source #

connection already in progress

pattern UV_EBADF :: CInt Source #

bad file descriptor

pattern UV_EBUSY :: CInt Source #

resource busy or locked

pattern UV_ECANCELED :: CInt Source #

operation canceled

pattern UV_ECHARSET :: CInt Source #

invalid Unicode character

pattern UV_ECONNABORTED :: CInt Source #

software caused connection abort

pattern UV_ECONNREFUSED :: CInt Source #

connection refused

pattern UV_ECONNRESET :: CInt Source #

connection reset by peer

pattern UV_EDESTADDRREQ :: CInt Source #

destination address required

pattern UV_EEXIST :: CInt Source #

file already exists

pattern UV_EFAULT :: CInt Source #

bad address in system call argument

pattern UV_EFBIG :: CInt Source #

file too large

pattern UV_EHOSTUNREACH :: CInt Source #

host is unreachable

pattern UV_EINTR :: CInt Source #

interrupted system call

pattern UV_EINVAL :: CInt Source #

invalid argument

pattern UV_EIO :: CInt Source #

i/o error

pattern UV_EISCONN :: CInt Source #

socket is already connected

pattern UV_EISDIR :: CInt Source #

illegal operation on a directory

pattern UV_ELOOP :: CInt Source #

too many symbolic links encountered

pattern UV_EMFILE :: CInt Source #

too many open files

pattern UV_EMSGSIZE :: CInt Source #

message too long

pattern UV_ENAMETOOLONG :: CInt Source #

name too long

pattern UV_ENETDOWN :: CInt Source #

network is down

pattern UV_ENETUNREACH :: CInt Source #

network is unreachable

pattern UV_ENFILE :: CInt Source #

file table overflow

pattern UV_ENOBUFS :: CInt Source #

no buffer space available

pattern UV_ENODEV :: CInt Source #

no such device

pattern UV_ENOENT :: CInt Source #

no such file or directory

pattern UV_ENOMEM :: CInt Source #

not enough memory

pattern UV_ENONET :: CInt Source #

machine is not on the network

pattern UV_ENOPROTOOPT :: CInt Source #

protocol not available

pattern UV_ENOSPC :: CInt Source #

no space left on device

pattern UV_ENOSYS :: CInt Source #

function not implemented

pattern UV_ENOTCONN :: CInt Source #

socket is not connected

pattern UV_ENOTDIR :: CInt Source #

not a directory

pattern UV_ENOTEMPTY :: CInt Source #

directory not empty

pattern UV_ENOTSOCK :: CInt Source #

socket operation on non-socket

pattern UV_ENOTSUP :: CInt Source #

operation not supported on socket

pattern UV_EPERM :: CInt Source #

operation not permitted

pattern UV_EPIPE :: CInt Source #

broken pipe

pattern UV_EPROTO :: CInt Source #

protocol error

pattern UV_EPROTONOSUPPORT :: CInt Source #

protocol not supported

pattern UV_EPROTOTYPE :: CInt Source #

protocol wrong type for socket

pattern UV_ERANGE :: CInt Source #

result too large

pattern UV_EROFS :: CInt Source #

read-only file system

pattern UV_ESHUTDOWN :: CInt Source #

cannot send after transport endpoint shutdown

pattern UV_ESPIPE :: CInt Source #

invalid seek

pattern UV_ESRCH :: CInt Source #

no such process

pattern UV_ETIMEDOUT :: CInt Source #

connection timed out

pattern UV_ETXTBSY :: CInt Source #

text file is busy

pattern UV_EXDEV :: CInt Source #

cross-device link not permitted

pattern UV_UNKNOWN :: CInt Source #

unknown error

pattern UV_EOF :: CInt Source #

end of file

pattern UV_ENXIO :: CInt Source #

no such device or address

pattern UV_EMLINK :: CInt Source #

too many links