Skip to content

enum Errno

Errno wraps and gives access to libc's errno. This is mostly useful when dealing with C libraries.

Members

NONE = 0

E2BIG = 7

EPERM = 1

ENOENT = 2

ESRCH = 3

EINTR = 4

EIO = 5

ENXIO = 6

ENOEXEC = 8

EBADF = 9

ECHILD = 10

EDEADLK = 35

ENOMEM = 12

EACCES = 13

EFAULT = 14

EBUSY = 16

EEXIST = 17

EXDEV = 18

ENODEV = 19

ENOTDIR = 20

EISDIR = 21

EINVAL = 22

ENFILE = 23

EMFILE = 24

ENOTTY = 25

ETXTBSY = 26

EFBIG = 27

ENOSPC = 28

ESPIPE = 29

EROFS = 30

EPIPE = 32

EDOM = 33

ERANGE = 34

EAGAIN = 11

EWOULDBLOCK = 11

EINPROGRESS = 115

EALREADY = 114

ENOTSOCK = 88

EDESTADDRREQ = 89

EMSGSIZE = 90

EPROTOTYPE = 91

ENOPROTOOPT = 92

EPROTONOSUPPORT = 93

EAFNOSUPPORT = 97

EADDRINUSE = 98

EADDRNOTAVAIL = 99

ENETDOWN = 100

ENETUNREACH = 101

ENETRESET = 102

ECONNABORTED = 103

ECONNRESET = 104

ENOBUFS = 105

EISCONN = 106

ENOTCONN = 107

ETIMEDOUT = 110

ECONNREFUSED = 111

ELOOP = 40

ENAMETOOLONG = 36

EHOSTUNREACH = 113

ENOTEMPTY = 39

EDQUOT = 122

ESTALE = 116

ENOLCK = 37

ENOSYS = 38

EOVERFLOW = 75

ECANCELED = 125

EIDRM = 43

ENOMSG = 42

EILSEQ = 84

EBADMSG = 74

EMULTIHOP = 72

ENODATA = 61

ENOSR = 63

ENOSTR = 60

EPROTO = 71

ETIME = 62

EOPNOTSUPP = 95

ENOTRECOVERABLE = 131

EOWNERDEAD = 130

Class methods

.value=(errno : Errno)

Sets the value of libc's errno.

View source

.value : self

Returns the value of libc's errno.

View source

Methods

#e2_big?

View source

#eacces?

View source

#eaddrinuse?

View source

#eaddrnotavail?

View source

#eafnosupport?

View source

#eagain?

View source

#ealready?

View source

#ebadf?

View source

#ebadmsg?

View source

#ebusy?

View source

#ecanceled?

View source

#echild?

View source

#econnaborted?

View source

#econnrefused?

View source

#econnreset?

View source

#edeadlk?

View source

#edestaddrreq?

View source

#edom?

View source

#edquot?

View source

#eexist?

View source

#efault?

View source

#efbig?

View source

#ehostunreach?

View source

#eidrm?

View source

#eilseq?

View source

#einprogress?

View source

#eintr?

View source

#einval?

View source

#eio?

View source

#eisconn?

View source

#eisdir?

View source

#eloop?

View source

#emfile?

View source

#emlink?

View source

#emsgsize?

View source

#emultihop?

View source

#enametoolong?

View source

#enetdown?

View source

#enetreset?

View source

#enetunreach?

View source

#enfile?

View source

#enobufs?

View source

#enodata?

View source

#enodev?

View source

#enoent?

View source

#enoexec?

View source

#enolck?

View source

#enolink?

View source

#enomem?

View source

#enomsg?

View source

#enoprotoopt?

View source

#enospc?

View source

#enosr?

View source

#enostr?

View source

#enosys?

View source

#enotconn?

View source

#enotdir?

View source

#enotempty?

View source

#enotrecoverable?

View source

#enotsock?

View source

#enotty?

View source

#enxio?

View source

#eopnotsupp?

View source

#eoverflow?

View source

#eownerdead?

View source

#eperm?

View source

#epipe?

View source

#eproto?

View source

#eprotonosupport?

View source

#eprototype?

View source

#erange?

View source

#erofs?

View source

#espipe?

View source

#esrch?

View source

#estale?

View source

#etime?

View source

#etimedout?

View source

#etxtbsy?

View source

#ewouldblock?

View source

#exdev?

View source

#message : String

Convert an Errno to an error message

View source

#none?

View source