Static methods

staticerrName(this:Int):String

Returns the name of the given error.

staticsetOnUnhandledException(callback:(e:Exception) ‑> Void):Void

Setup a callback for unhandled exceptions.

See also:

statictoString(this:Int):String

Returns the error message corresponding to the given error.

statictranslateSysError(code:Int):UVError

Converts a system error code to a libuv error.

Variables

@:value(cast 0)@:impl@:enuminlineread onlyUV_E2BIG:UVError = 0

argument list too long

@:value(cast 1)@:impl@:enuminlineread onlyUV_EACCES:UVError = 1

permission denied

@:value(cast 2)@:impl@:enuminlineread onlyUV_EADDRINUSE:UVError = 2

address already in use

@:value(cast 3)@:impl@:enuminlineread onlyUV_EADDRNOTAVAIL:UVError = 3

address not available

@:value(cast 4)@:impl@:enuminlineread onlyUV_EAFNOSUPPORT:UVError = 4

address family not supported

@:value(cast 5)@:impl@:enuminlineread onlyUV_EAGAIN:UVError = 5

resource temporarily unavailable

@:value(cast 6)@:impl@:enuminlineread onlyUV_EAI_ADDRFAMILY:UVError = 6

address family not supported

@:value(cast 7)@:impl@:enuminlineread onlyUV_EAI_AGAIN:UVError = 7

temporary failure

@:value(cast 8)@:impl@:enuminlineread onlyUV_EAI_BADFLAGS:UVError = 8

bad ai_flags value

@:value(cast 9)@:impl@:enuminlineread onlyUV_EAI_BADHINTS:UVError = 9

invalid value for hints

@:value(cast 10)@:impl@:enuminlineread onlyUV_EAI_CANCELED:UVError = 10

request canceled

@:value(cast 11)@:impl@:enuminlineread onlyUV_EAI_FAIL:UVError = 11

permanent failure

@:value(cast 12)@:impl@:enuminlineread onlyUV_EAI_FAMILY:UVError = 12

ai_family not supported

@:value(cast 13)@:impl@:enuminlineread onlyUV_EAI_MEMORY:UVError = 13

out of memory

@:value(cast 14)@:impl@:enuminlineread onlyUV_EAI_NODATA:UVError = 14

no address

@:value(cast 15)@:impl@:enuminlineread onlyUV_EAI_NONAME:UVError = 15

unknown node or service

@:value(cast 16)@:impl@:enuminlineread onlyUV_EAI_OVERFLOW:UVError = 16

argument buffer overflow

@:value(cast 17)@:impl@:enuminlineread onlyUV_EAI_PROTOCOL:UVError = 17

resolved protocol is unknown

@:value(cast 18)@:impl@:enuminlineread onlyUV_EAI_SERVICE:UVError = 18

service not available for socket type

@:value(cast 19)@:impl@:enuminlineread onlyUV_EAI_SOCKTYPE:UVError = 19

socket type not supported

@:value(cast 20)@:impl@:enuminlineread onlyUV_EALREADY:UVError = 20

connection already in progress

@:value(cast 21)@:impl@:enuminlineread onlyUV_EBADF:UVError = 21

bad file descriptor

@:value(cast 22)@:impl@:enuminlineread onlyUV_EBUSY:UVError = 22

resource busy or locked

@:value(cast 23)@:impl@:enuminlineread onlyUV_ECANCELED:UVError = 23

operation canceled

@:value(cast 25)@:impl@:enuminlineread onlyUV_ECONNABORTED:UVError = 25

software caused connection abort

@:value(cast 26)@:impl@:enuminlineread onlyUV_ECONNREFUSED:UVError = 26

connection refused

@:value(cast 27)@:impl@:enuminlineread onlyUV_ECONNRESET:UVError = 27

connection reset by peer

@:value(cast 28)@:impl@:enuminlineread onlyUV_EDESTADDRREQ:UVError = 28

destination address required

@:value(cast 29)@:impl@:enuminlineread onlyUV_EEXIST:UVError = 29

file already exists

@:value(cast 30)@:impl@:enuminlineread onlyUV_EFAULT:UVError = 30

bad address in system call argument

@:value(cast 31)@:impl@:enuminlineread onlyUV_EFBIG:UVError = 31

file too large

@:value(cast 76)@:impl@:enuminlineread onlyUV_EFTYPE:UVError = 76

inappropriate file type or format

@:value(cast 32)@:impl@:enuminlineread onlyUV_EHOSTUNREACH:UVError = 32

host is unreachable

@:value(cast 77)@:impl@:enuminlineread onlyUV_EILSEQ:UVError = 77

illegal byte sequence

@:value(cast 33)@:impl@:enuminlineread onlyUV_EINTR:UVError = 33

interrupted system call

@:value(cast 34)@:impl@:enuminlineread onlyUV_EINVAL:UVError = 34

invalid argument

@:value(cast 35)@:impl@:enuminlineread onlyUV_EIO:UVError = 35

i/o error

@:value(cast 36)@:impl@:enuminlineread onlyUV_EISCONN:UVError = 36

socket is already connected

@:value(cast 37)@:impl@:enuminlineread onlyUV_EISDIR:UVError = 37

illegal operation on a directory

@:value(cast 38)@:impl@:enuminlineread onlyUV_ELOOP:UVError = 38

too many symbolic links encountered

@:value(cast 39)@:impl@:enuminlineread onlyUV_EMFILE:UVError = 39

too many open files

@:value(cast 74)@:impl@:enuminlineread onlyUV_EMLINK:UVError = 74

too many links

@:value(cast 40)@:impl@:enuminlineread onlyUV_EMSGSIZE:UVError = 40

message too long

@:value(cast 41)@:impl@:enuminlineread onlyUV_ENAMETOOLONG:UVError = 41

name too long

@:value(cast 42)@:impl@:enuminlineread onlyUV_ENETDOWN:UVError = 42

network is down

@:value(cast 43)@:impl@:enuminlineread onlyUV_ENETUNREACH:UVError = 43

network is unreachable

@:value(cast 44)@:impl@:enuminlineread onlyUV_ENFILE:UVError = 44

file table overflow

@:value(cast 45)@:impl@:enuminlineread onlyUV_ENOBUFS:UVError = 45

no buffer space available

@:value(cast 46)@:impl@:enuminlineread onlyUV_ENODEV:UVError = 46

no such device

@:value(cast 47)@:impl@:enuminlineread onlyUV_ENOENT:UVError = 47

no such file or directory

@:value(cast 48)@:impl@:enuminlineread onlyUV_ENOMEM:UVError = 48

not enough memory

@:value(cast 49)@:impl@:enuminlineread onlyUV_ENONET:UVError = 49

machine is not on the network

@:value(cast 50)@:impl@:enuminlineread onlyUV_ENOPROTOOPT:UVError = 50

protocol not available

@:value(cast 51)@:impl@:enuminlineread onlyUV_ENOSPC:UVError = 51

no space left on device

@:value(cast 52)@:impl@:enuminlineread onlyUV_ENOSYS:UVError = 52

function not implemented

@:value(cast 53)@:impl@:enuminlineread onlyUV_ENOTCONN:UVError = 53

socket is not connected

@:value(cast 54)@:impl@:enuminlineread onlyUV_ENOTDIR:UVError = 54

not a directory

@:value(cast 55)@:impl@:enuminlineread onlyUV_ENOTEMPTY:UVError = 55

directory not empty

@:value(cast 56)@:impl@:enuminlineread onlyUV_ENOTSOCK:UVError = 56

socket operation on non-socket

@:value(cast 57)@:impl@:enuminlineread onlyUV_ENOTSUP:UVError = 57

operation not supported on socket

@:value(cast 75)@:impl@:enuminlineread onlyUV_ENOTTY:UVError = 75

inappropriate ioctl for device

@:value(cast 73)@:impl@:enuminlineread onlyUV_ENXIO:UVError = 73

no such device or address

@:value(cast 72)@:impl@:enuminlineread onlyUV_EOF:UVError = 72

end of file

@:value(cast 78)@:impl@:enuminlineread onlyUV_EOVERFLOW:UVError = 78

value too large for defined data type

@:value(cast 58)@:impl@:enuminlineread onlyUV_EPERM:UVError = 58

operation not permitted

@:value(cast 59)@:impl@:enuminlineread onlyUV_EPIPE:UVError = 59

broken pipe

@:value(cast 60)@:impl@:enuminlineread onlyUV_EPROTO:UVError = 60

protocol error

@:value(cast 61)@:impl@:enuminlineread onlyUV_EPROTONOSUPPORT:UVError = 61

protocol not supported

@:value(cast 62)@:impl@:enuminlineread onlyUV_EPROTOTYPE:UVError = 62

protocol wrong type for socket

@:value(cast 63)@:impl@:enuminlineread onlyUV_ERANGE:UVError = 63

result too large

@:value(cast 64)@:impl@:enuminlineread onlyUV_EROFS:UVError = 64

read-only file system

@:value(cast 65)@:impl@:enuminlineread onlyUV_ESHUTDOWN:UVError = 65

cannot send after transport endpoint shutdown

@:value(cast 79)@:impl@:enuminlineread onlyUV_ESOCKTNOSUPPORT:UVError = 79

socket type not supported

@:value(cast 66)@:impl@:enuminlineread onlyUV_ESPIPE:UVError = 66

invalid seek

@:value(cast 67)@:impl@:enuminlineread onlyUV_ESRCH:UVError = 67

no such process

@:value(cast 68)@:impl@:enuminlineread onlyUV_ETIMEDOUT:UVError = 68

connection timed out

@:value(cast 69)@:impl@:enuminlineread onlyUV_ETXTBSY:UVError = 69

text file is busy

@:value(cast 70)@:impl@:enuminlineread onlyUV_EXDEV:UVError = 70

cross-device link not permitted

@:value(cast 71)@:impl@:enuminlineread onlyUV_UNKNOWN:UVError = 71

unknown error