Copyright | (c) Winterland 2017-2018 |
---|---|
License | BSD |
Maintainer | winterland1989@gmail.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
INTERNAL MODULE, provides all libuv errno.
Synopsis
- uvStdError :: CInt -> IO Text
- uv_strerror :: CInt -> IO CString
- uvErrName :: CInt -> IO Text
- uv_err_name :: CInt -> IO CString
- pattern UV_E2BIG :: CInt
- pattern UV_EACCES :: CInt
- pattern UV_EADDRINUSE :: CInt
- pattern UV_EADDRNOTAVAIL :: CInt
- pattern UV_EAFNOSUPPORT :: CInt
- pattern UV_EAGAIN :: CInt
- pattern UV_EAI_ADDRFAMILY :: CInt
- pattern UV_EAI_AGAIN :: CInt
- pattern UV_EAI_BADFLAGS :: CInt
- pattern UV_EAI_BADHINTS :: CInt
- pattern UV_EAI_CANCELED :: CInt
- pattern UV_EAI_FAIL :: CInt
- pattern UV_EAI_FAMILY :: CInt
- pattern UV_EAI_MEMORY :: CInt
- pattern UV_EAI_NODATA :: CInt
- pattern UV_EAI_NONAME :: CInt
- pattern UV_EAI_OVERFLOW :: CInt
- pattern UV_EAI_PROTOCOL :: CInt
- pattern UV_EAI_SERVICE :: CInt
- pattern UV_EAI_SOCKTYPE :: CInt
- pattern UV_EALREADY :: CInt
- pattern UV_EBADF :: CInt
- pattern UV_EBUSY :: CInt
- pattern UV_ECANCELED :: CInt
- pattern UV_ECHARSET :: CInt
- pattern UV_ECONNABORTED :: CInt
- pattern UV_ECONNREFUSED :: CInt
- pattern UV_ECONNRESET :: CInt
- pattern UV_EDESTADDRREQ :: CInt
- pattern UV_EEXIST :: CInt
- pattern UV_EFAULT :: CInt
- pattern UV_EFBIG :: CInt
- pattern UV_EHOSTUNREACH :: CInt
- pattern UV_EINTR :: CInt
- pattern UV_EINVAL :: CInt
- pattern UV_EIO :: CInt
- pattern UV_EISCONN :: CInt
- pattern UV_EISDIR :: CInt
- pattern UV_ELOOP :: CInt
- pattern UV_EMFILE :: CInt
- pattern UV_EMSGSIZE :: CInt
- pattern UV_ENAMETOOLONG :: CInt
- pattern UV_ENETDOWN :: CInt
- pattern UV_ENETUNREACH :: CInt
- pattern UV_ENFILE :: CInt
- pattern UV_ENOBUFS :: CInt
- pattern UV_ENODEV :: CInt
- pattern UV_ENOENT :: CInt
- pattern UV_ENOMEM :: CInt
- pattern UV_ENONET :: CInt
- pattern UV_ENOPROTOOPT :: CInt
- pattern UV_ENOSPC :: CInt
- pattern UV_ENOSYS :: CInt
- pattern UV_ENOTCONN :: CInt
- pattern UV_ENOTDIR :: CInt
- pattern UV_ENOTEMPTY :: CInt
- pattern UV_ENOTSOCK :: CInt
- pattern UV_ENOTSUP :: CInt
- pattern UV_EPERM :: CInt
- pattern UV_EPIPE :: CInt
- pattern UV_EPROTO :: CInt
- pattern UV_EPROTONOSUPPORT :: CInt
- pattern UV_EPROTOTYPE :: CInt
- pattern UV_ERANGE :: CInt
- pattern UV_EROFS :: CInt
- pattern UV_ESHUTDOWN :: CInt
- pattern UV_ESPIPE :: CInt
- pattern UV_ESRCH :: CInt
- pattern UV_ETIMEDOUT :: CInt
- pattern UV_ETXTBSY :: CInt
- pattern UV_EXDEV :: CInt
- pattern UV_UNKNOWN :: CInt
- pattern UV_EOF :: CInt
- pattern UV_ENXIO :: CInt
- pattern UV_EMLINK :: CInt
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_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_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_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_EHOSTUNREACH :: CInt Source #
host is unreachable
pattern UV_EISCONN :: CInt Source #
socket is already connected
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_ENOBUFS :: CInt Source #
no buffer space available
pattern UV_ENOPROTOOPT :: CInt Source #
protocol not available
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_EPROTONOSUPPORT :: CInt Source #
protocol not supported
pattern UV_EPROTOTYPE :: CInt Source #
protocol wrong type for socket
pattern UV_ESHUTDOWN :: CInt Source #
cannot send after transport endpoint shutdown
pattern UV_ETIMEDOUT :: CInt Source #
connection timed out
pattern UV_ETXTBSY :: CInt Source #
text file is busy
pattern UV_UNKNOWN :: CInt Source #
unknown error