Skip to content

errno

定数

EACCES

errno.EACCES = int(13)

EADDRINUSE

errno.EADDRINUSE = int(98)

EAGAIN

errno.EAGAIN = int(11)

EALREADY

errno.EALREADY = int(114)

EBADF

errno.EBADF = int(9)

ECONNABORTED

errno.ECONNABORTED = int(103)

ECONNREFUSED

errno.ECONNREFUSED = int(111)

ECONNRESET

errno.ECONNRESET = int(104)

EEXIST

errno.EEXIST = int(17)

EHOSTUNREACH

errno.EHOSTUNREACH = int(113)

EINPROGRESS

errno.EINPROGRESS = int(115)

EINVAL

errno.EINVAL = int(22)

EIO

errno.EIO = int(5)

EISDIR

errno.EISDIR = int(21)

ENOBUFS

errno.ENOBUFS = int(105)

ENODEV

errno.ENODEV = int(19)

ENOENT

errno.ENOENT = int(2)

ENOMEM

errno.ENOMEM = int(12)

ENOTCONN

errno.ENOTCONN = int(107)

EOPNOTSUPP

errno.EOPNOTSUPP = int(95)

EPERM

errno.EPERM = int(1)

ETIMEDOUT

errno.ETIMEDOUT = int(110)

__name__

errno.__name__ = str('uerrno')

errorcode

errno.errorcode = dict({1: 'EPERM', 2: 'ENOENT', 5: 'EIO', 9: 'EBADF', 11: 'EAGAIN', 12: 'ENOMEM', 13: 'EACCES', 17: 'EEXIST', 19: 'ENODEV', 21: 'EISDIR', 22: 'EINVAL', 95: 'EOPNOTSUPP', 98: 'EADDRINUSE', 103: 'ECONNABORTED', 104: 'ECONNRESET', 105: 'ENOBUFS', 107: 'ENOTCONN', 110: 'ETIMEDOUT', 111: 'ECONNREFUSED', 113: 'EHOSTUNREACH', 114: 'EALREADY', 115: 'EINPROGRESS'})