All files / src/enum system-error-code.ts

100% Statements 136/136
100% Branches 2/2
100% Functions 1/1
100% Lines 136/136

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 1391x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x     1x  
enum SystemErrorCode {
	EPERM = 'EPERM', // Operation not permitted
	ENOENT = 'ENOENT', // No such file or directory
	ESRCH = 'ESRCH', // No such process
	EINTR = 'EINTR', // Interrupted system call
	EIO = 'EIO', // I/O error
	ENXIO = 'ENXIO', // No such device or address
	E2BIG = 'E2BIG', // Arg list too long
	ENOEXEC = 'ENOEXEC', // Exec format error
	EBADF = 'EBADF', // Bad file number
	ECHILD = 'ECHILD', // No child processes
	EAGAIN = 'EAGAIN', // Try again
	ENOMEM = 'ENOMEM', // Out of memory
	EACCES = 'EACCES', // Permission denied
	EFAULT = 'EFAULT', // Bad address
	ENOTBLK = 'ENOTBLK', // Block device required
	EBUSY = 'EBUSY', // Device or resource busy
	EEXIST = 'EEXIST', // File exists
	EXDEV = 'EXDEV', // Cross-device link
	ENODEV = 'ENODEV', // No such device
	ENOTDIR = 'ENOTDIR', // Not a directory
	EISDIR = 'EISDIR', // Is a directory
	EINVAL = 'EINVAL', // Invalid argument
	ENFILE = 'ENFILE', // File table overflow
	EMFILE = 'EMFILE', // Too many open files
	ENOTTY = 'ENOTTY', // Inappropriate I/O control operation
	ETXTBSY = 'ETXTBSY', // Text file busy
	EFBIG = 'EFBIG', // File too large
	ENOSPC = 'ENOSPC', // No space left on device
	ESPIPE = 'ESPIPE', // Illegal seek
	EROFS = 'EROFS', // Read-only file system
	EMLINK = 'EMLINK', // Too many links
	EPIPE = 'EPIPE', // Broken pipe
	EDOM = 'EDOM', // Math argument out of domain of function
	ERANGE = 'ERANGE', // Math result not representable
	EDEADLK = 'EDEADLK', // Deadlock occurred
	ENAMETOOLONG = 'ENAMETOOLONG', // File / directory name too long
	ENOLCK = 'ENOLCK', // No record locks available
	ENOSYS = 'ENOSYS', // System function not implemented
	ENOTEMPTY = 'ENOTEMPTY', // The specified directory is not empty
	ELOOP = 'ELOOP', // Too many symbolic links encountered
	EWOULDBLOCK = 'EWOULDBLOCK', // Operation would block
	ENOMSG = 'ENOMSG', // No message of desired type found
	EIDRM = 'EIDRM', // Identifier was removed
	ECHRNG = 'ECHRNG', // Channel number out of range
	EL2NSYNC = 'EL2NSYNC', // Level 2 not synchronized
	EL3HLT = 'EL3HLT', // Level 3 halted
	EL3RST = 'EL3RST', // Level 3 reset
	ELNRNG = 'ELNRNG', // Link number out of range
	EUNATCH = 'EUNATCH', // Protocol driver not attached
	ENOCSI = 'ENOCSI', // No CSI structure available
	EL2HLT = 'EL2HLT', // Level 2 halted
	EBADE = 'EBADE', // Invalid exchange
	EBADR = 'EBADR', // Invalid request descriptor
	EXFULL = 'EXFULL', // Exchange full
	ENOANO = 'ENOANO', // No anode
	EBADRQC = 'EBADRQC', // Invalid request code
	EBADSLT = 'EBADSLT', // Invalid slot
	EDEADLOCK = 'EDEADLOCK', // It's a deadlock, amigo
	EBFONT = 'EBFONT', // Bad font file format
	ENOSTR = 'ENOSTR', // Device is not a stream
	ENODATA = 'ENODATA', // No data available
	ETIME = 'ETIME', // Timer expired
	ENOSR = 'ENOSR', // Out of stream resources
	ENONET = 'ENONET', // Machine is not on the network
	ENOPKG = 'ENOPKG', // Package is not installed
	EREMOTE = 'EREMOTE', // Object is remote
	ENOLINK = 'ENOLINK', // Link has been severed
	EADV = 'EADV', // Advertise error
	ESRMNT = 'ESRMNT', // Srmount error
	ECOMM = 'ECOMM', // Communication error on send
	EPROTO = 'EPROTO', // Protocol error
	EMULTIHOP = 'EMULTIHOP', // Multihop attempted
	EDOTDOT = 'EDOTDOT', // RFS-specific error
	EBADMSG = 'EBADMSG', // Not a data message
	EOVERFLOW = 'EOVERFLOW', // Valu etoo large for defined data type
	ENOTUNIQ = 'ENOTUNIQ', // Name not unique on network
	EBADFD = 'EBADFD', // File descriptor in bad state
	EREMCHG = 'EREMCHG', // Remote address changed
	ELIBACC = 'ELIBACC', // Cannot access a needed shared library
	ELIBBAD = 'ELIBBAD', // Accessing a corrupted shared library
	ELIBSCN = 'ELIBSCN', // .lib section in a.out corrupted
	ELIBMAX = 'ELIBMAX', // Attempting to link in too many shared libraries
	ELIBEXEC = 'ELIBEXEC', // Cannot exec a shared library directly
	EILSEQ = 'EILSEQ', // Illegal byte sequence
	ERESTART = 'ERESTART', // Interrupted system call should be restarted
	ESTRPIPE = 'ESTRPIPE', // Streams pipe error
	EUSERS = 'EUSERS', // Too many users
	ENOTSOCK = 'ENOTSOCK', // Socket operation on non-socket
	EDESTADDRREQ = 'EDESTADDRREQ', // Destination address required
	EMSGSIZE = 'EMSGSIZE', // Message too long
	EPROTOTYPE = 'EPROTOTYPE', // Protocol wrong type for socket
	ENOPROTOOPT = 'ENOPROTOOPT', // Protocol not available
	EPROTONOSUPPORT = 'EPROTONOSUPPORT', // Protocol not supported
	ESOCKTNOSUPPORT = 'ESOCKTNOSUPPORT', // Socket type not supported
	EOPNOTSUPP = 'EOPNOTSUPP', // Operation not supported on transport endpoint
	EPFNOSUPPORT = 'EPFNOSUPPORT', // Protocol family not supported
	EAFNOSUPPORT = 'EAFNOSUPPORT', // Address family not supported by protocol
	EADDRINUSE = 'EADDRINUSE', // Address (or port) already in use
	EADDRNOTAVAIL = 'EADDRNOTAVAIL', // Unable to assign the specified network address
	ENETDOWN = 'ENETDOWN', // Network is down
	ENETUNREACH = 'ENETUNREACH', // Network is unreachable
	ENETRESET = 'ENETRESET', // Network dropped connection because of reset
	ECONNABORTED = 'ECONNABORTED', // Software caused connection abort
	ECONNRESET = 'ECONNRESET', // Connection reset by peer
	ENOBUFS = 'ENOBUFS', // No buffer space available
	EISCONN = 'EISCONN', // Transport endpoint is already connected
	ENOTCONN = 'ENOTCONN', // Transport endpoint is not connected
	ESHUTDOWN = 'ESHUTDOWN', // Cannot send after transport endpoint shutdown
	ETOOMANYREFS = 'ETOOMANYREFS', // Too many references; cannot splice
	ETIMEDOUT = 'ETIMEDOUT', // Connection timed out
	ECONNREFUSED = 'ECONNREFUSED', // Connection refused
	EHOSTDOWN = 'EHOSTDOWN', // Host is down
	EHOSTUNREACH = 'EHOSTUNREACH', // No route to host
	EALREADY = 'EALREADY', // Operation already in progress
	EINPROGRESS = 'EINPROGRESS', // Operation now in progress
	ESTALE = 'ESTALE', // Stale file handle
	EUCLEAN = 'EUCLEAN', // Structure needs cleaning
	ENOTNAM = 'ENOTNAM', // Not a XENIX named type file
	ENAVAIL = 'ENAVAIL', // No XENIX semaphores available
	EISNAM = 'EISNAM', // Is a named type file
	EREMOTEIO = 'EREMOTEIO', // Remote I/O error
	EDQUOT = 'EDQUOT', // Quota exceeded
	ENOMEDIUM = 'ENOMEDIUM', // No medium found
	EMEDIUMTYPE = 'EMEDIUMTYPE', // Wrong medium type
	ECANCELED = 'ECANCELED', // Operation cancelled
	ENOKEY = 'ENOKEY', // Required key not available
	EKEYEXPIRED = 'EKEYEXPIRED', // Key has expired
	EKEYREVOKED = 'EKEYREVOKED', // Key has been revoked
	EKEYREJECTED = 'EKEYREJECTED', // Key was rejected by service
	EOWNERDEAD = 'EOWNERDEAD', // Owner died
	ENOTRECOVERABLE = 'ENOTRECOVERABLE', // State not recoverable
	ERFKILL = 'ERFKILL', // Operation not possible due to RF-kill
	EHWPOISON = 'EHWPOISON', // Memory page has hardware error
	ENOTSUP = 'ENOTSUP' // Not supported
}
 
export default SystemErrorCode;