File indexing completed on 2024-04-28 15:53:57
0001 #!/usr/bin/env python2.7 0002 # -*- coding: utf-8 -*- 0003 """:synopsis: Standard errno system symbols. 0004 0005 0006 This module makes available standard ``errno`` system symbols. The value of each 0007 symbol is the corresponding integer value. The names and descriptions are 0008 borrowed from :file:`linux/include/errno.h`, which should be pretty 0009 all-inclusive. 0010 0011 0012 """ 0013 """ 0014 Dictionary providing a mapping from the errno value to the string name in the 0015 underlying system. For instance, ``errno.errorcode[errno.EPERM]`` maps to 0016 ``'EPERM'``. 0017 0018 To translate a numeric error code to an error message, use :func:`os.strerror`. 0019 0020 Of the following list, symbols that are not used on the current platform are not 0021 defined by the module. The specific list of defined symbols is available as 0022 ``errno.errorcode.keys()``. Symbols available can include: 0023 0024 0025 """ 0026 errorcode = None 0027 """ 0028 Operation not permitted 0029 0030 0031 """ 0032 EPERM = None 0033 """ 0034 No such file or directory 0035 0036 0037 """ 0038 ENOENT = None 0039 """ 0040 No such process 0041 0042 0043 """ 0044 ESRCH = None 0045 """ 0046 Interrupted system call 0047 0048 0049 """ 0050 EINTR = None 0051 """ 0052 I/O error 0053 0054 0055 """ 0056 EIO = None 0057 """ 0058 No such device or address 0059 0060 0061 """ 0062 ENXIO = None 0063 """ 0064 Arg list too long 0065 0066 0067 """ 0068 E2BIG = None 0069 """ 0070 Exec format error 0071 0072 0073 """ 0074 ENOEXEC = None 0075 """ 0076 Bad file number 0077 0078 0079 """ 0080 EBADF = None 0081 """ 0082 No child processes 0083 0084 0085 """ 0086 ECHILD = None 0087 """ 0088 Try again 0089 0090 0091 """ 0092 EAGAIN = None 0093 """ 0094 Out of memory 0095 0096 0097 """ 0098 ENOMEM = None 0099 """ 0100 Permission denied 0101 0102 0103 """ 0104 EACCES = None 0105 """ 0106 Bad address 0107 0108 0109 """ 0110 EFAULT = None 0111 """ 0112 Block device required 0113 0114 0115 """ 0116 ENOTBLK = None 0117 """ 0118 Device or resource busy 0119 0120 0121 """ 0122 EBUSY = None 0123 """ 0124 File exists 0125 0126 0127 """ 0128 EEXIST = None 0129 """ 0130 Cross-device link 0131 0132 0133 """ 0134 EXDEV = None 0135 """ 0136 No such device 0137 0138 0139 """ 0140 ENODEV = None 0141 """ 0142 Not a directory 0143 0144 0145 """ 0146 ENOTDIR = None 0147 """ 0148 Is a directory 0149 0150 0151 """ 0152 EISDIR = None 0153 """ 0154 Invalid argument 0155 0156 0157 """ 0158 EINVAL = None 0159 """ 0160 File table overflow 0161 0162 0163 """ 0164 ENFILE = None 0165 """ 0166 Too many open files 0167 0168 0169 """ 0170 EMFILE = None 0171 """ 0172 Not a typewriter 0173 0174 0175 """ 0176 ENOTTY = None 0177 """ 0178 Text file busy 0179 0180 0181 """ 0182 ETXTBSY = None 0183 """ 0184 File too large 0185 0186 0187 """ 0188 EFBIG = None 0189 """ 0190 No space left on device 0191 0192 0193 """ 0194 ENOSPC = None 0195 """ 0196 Illegal seek 0197 0198 0199 """ 0200 ESPIPE = None 0201 """ 0202 Read-only file system 0203 0204 0205 """ 0206 EROFS = None 0207 """ 0208 Too many links 0209 0210 0211 """ 0212 EMLINK = None 0213 """ 0214 Broken pipe 0215 0216 0217 """ 0218 EPIPE = None 0219 """ 0220 Math argument out of domain of func 0221 0222 0223 """ 0224 EDOM = None 0225 """ 0226 Math result not representable 0227 0228 0229 """ 0230 ERANGE = None 0231 """ 0232 Resource deadlock would occur 0233 0234 0235 """ 0236 EDEADLK = None 0237 """ 0238 File name too long 0239 0240 0241 """ 0242 ENAMETOOLONG = None 0243 """ 0244 No record locks available 0245 0246 0247 """ 0248 ENOLCK = None 0249 """ 0250 Function not implemented 0251 0252 0253 """ 0254 ENOSYS = None 0255 """ 0256 Directory not empty 0257 0258 0259 """ 0260 ENOTEMPTY = None 0261 """ 0262 Too many symbolic links encountered 0263 0264 0265 """ 0266 ELOOP = None 0267 """ 0268 Operation would block 0269 0270 0271 """ 0272 EWOULDBLOCK = None 0273 """ 0274 No message of desired type 0275 0276 0277 """ 0278 ENOMSG = None 0279 """ 0280 Identifier removed 0281 0282 0283 """ 0284 EIDRM = None 0285 """ 0286 Channel number out of range 0287 0288 0289 """ 0290 ECHRNG = None 0291 """ 0292 Level 2 not synchronized 0293 0294 0295 """ 0296 EL2NSYNC = None 0297 """ 0298 Level 3 halted 0299 0300 0301 """ 0302 EL3HLT = None 0303 """ 0304 Level 3 reset 0305 0306 0307 """ 0308 EL3RST = None 0309 """ 0310 Link number out of range 0311 0312 0313 """ 0314 ELNRNG = None 0315 """ 0316 Protocol driver not attached 0317 0318 0319 """ 0320 EUNATCH = None 0321 """ 0322 No CSI structure available 0323 0324 0325 """ 0326 ENOCSI = None 0327 """ 0328 Level 2 halted 0329 0330 0331 """ 0332 EL2HLT = None 0333 """ 0334 Invalid exchange 0335 0336 0337 """ 0338 EBADE = None 0339 """ 0340 Invalid request descriptor 0341 0342 0343 """ 0344 EBADR = None 0345 """ 0346 Exchange full 0347 0348 0349 """ 0350 EXFULL = None 0351 """ 0352 No anode 0353 0354 0355 """ 0356 ENOANO = None 0357 """ 0358 Invalid request code 0359 0360 0361 """ 0362 EBADRQC = None 0363 """ 0364 Invalid slot 0365 0366 0367 """ 0368 EBADSLT = None 0369 """ 0370 File locking deadlock error 0371 0372 0373 """ 0374 EDEADLOCK = None 0375 """ 0376 Bad font file format 0377 0378 0379 """ 0380 EBFONT = None 0381 """ 0382 Device not a stream 0383 0384 0385 """ 0386 ENOSTR = None 0387 """ 0388 No data available 0389 0390 0391 """ 0392 ENODATA = None 0393 """ 0394 Timer expired 0395 0396 0397 """ 0398 ETIME = None 0399 """ 0400 Out of streams resources 0401 0402 0403 """ 0404 ENOSR = None 0405 """ 0406 Machine is not on the network 0407 0408 0409 """ 0410 ENONET = None 0411 """ 0412 Package not installed 0413 0414 0415 """ 0416 ENOPKG = None 0417 """ 0418 Object is remote 0419 0420 0421 """ 0422 EREMOTE = None 0423 """ 0424 Link has been severed 0425 0426 0427 """ 0428 ENOLINK = None 0429 """ 0430 Advertise error 0431 0432 0433 """ 0434 EADV = None 0435 """ 0436 Srmount error 0437 0438 0439 """ 0440 ESRMNT = None 0441 """ 0442 Communication error on send 0443 0444 0445 """ 0446 ECOMM = None 0447 """ 0448 Protocol error 0449 0450 0451 """ 0452 EPROTO = None 0453 """ 0454 Multihop attempted 0455 0456 0457 """ 0458 EMULTIHOP = None 0459 """ 0460 RFS specific error 0461 0462 0463 """ 0464 EDOTDOT = None 0465 """ 0466 Not a data message 0467 0468 0469 """ 0470 EBADMSG = None 0471 """ 0472 Value too large for defined data type 0473 0474 0475 """ 0476 EOVERFLOW = None 0477 """ 0478 Name not unique on network 0479 0480 0481 """ 0482 ENOTUNIQ = None 0483 """ 0484 File descriptor in bad state 0485 0486 0487 """ 0488 EBADFD = None 0489 """ 0490 Remote address changed 0491 0492 0493 """ 0494 EREMCHG = None 0495 """ 0496 Can not access a needed shared library 0497 0498 0499 """ 0500 ELIBACC = None 0501 """ 0502 Accessing a corrupted shared library 0503 0504 0505 """ 0506 ELIBBAD = None 0507 """ 0508 .lib section in a.out corrupted 0509 0510 0511 """ 0512 ELIBSCN = None 0513 """ 0514 Attempting to link in too many shared libraries 0515 0516 0517 """ 0518 ELIBMAX = None 0519 """ 0520 Cannot exec a shared library directly 0521 0522 0523 """ 0524 ELIBEXEC = None 0525 """ 0526 Illegal byte sequence 0527 0528 0529 """ 0530 EILSEQ = None 0531 """ 0532 Interrupted system call should be restarted 0533 0534 0535 """ 0536 ERESTART = None 0537 """ 0538 Streams pipe error 0539 0540 0541 """ 0542 ESTRPIPE = None 0543 """ 0544 Too many users 0545 0546 0547 """ 0548 EUSERS = None 0549 """ 0550 Socket operation on non-socket 0551 0552 0553 """ 0554 ENOTSOCK = None 0555 """ 0556 Destination address required 0557 0558 0559 """ 0560 EDESTADDRREQ = None 0561 """ 0562 Message too long 0563 0564 0565 """ 0566 EMSGSIZE = None 0567 """ 0568 Protocol wrong type for socket 0569 0570 0571 """ 0572 EPROTOTYPE = None 0573 """ 0574 Protocol not available 0575 0576 0577 """ 0578 ENOPROTOOPT = None 0579 """ 0580 Protocol not supported 0581 0582 0583 """ 0584 EPROTONOSUPPORT = None 0585 """ 0586 Socket type not supported 0587 0588 0589 """ 0590 ESOCKTNOSUPPORT = None 0591 """ 0592 Operation not supported on transport endpoint 0593 0594 0595 """ 0596 EOPNOTSUPP = None 0597 """ 0598 Protocol family not supported 0599 0600 0601 """ 0602 EPFNOSUPPORT = None 0603 """ 0604 Address family not supported by protocol 0605 0606 0607 """ 0608 EAFNOSUPPORT = None 0609 """ 0610 Address already in use 0611 0612 0613 """ 0614 EADDRINUSE = None 0615 """ 0616 Cannot assign requested address 0617 0618 0619 """ 0620 EADDRNOTAVAIL = None 0621 """ 0622 Network is down 0623 0624 0625 """ 0626 ENETDOWN = None 0627 """ 0628 Network is unreachable 0629 0630 0631 """ 0632 ENETUNREACH = None 0633 """ 0634 Network dropped connection because of reset 0635 0636 0637 """ 0638 ENETRESET = None 0639 """ 0640 Software caused connection abort 0641 0642 0643 """ 0644 ECONNABORTED = None 0645 """ 0646 Connection reset by peer 0647 0648 0649 """ 0650 ECONNRESET = None 0651 """ 0652 No buffer space available 0653 0654 0655 """ 0656 ENOBUFS = None 0657 """ 0658 Transport endpoint is already connected 0659 0660 0661 """ 0662 EISCONN = None 0663 """ 0664 Transport endpoint is not connected 0665 0666 0667 """ 0668 ENOTCONN = None 0669 """ 0670 Cannot send after transport endpoint shutdown 0671 0672 0673 """ 0674 ESHUTDOWN = None 0675 """ 0676 Too many references: cannot splice 0677 0678 0679 """ 0680 ETOOMANYREFS = None 0681 """ 0682 Connection timed out 0683 0684 0685 """ 0686 ETIMEDOUT = None 0687 """ 0688 Connection refused 0689 0690 0691 """ 0692 ECONNREFUSED = None 0693 """ 0694 Host is down 0695 0696 0697 """ 0698 EHOSTDOWN = None 0699 """ 0700 No route to host 0701 0702 0703 """ 0704 EHOSTUNREACH = None 0705 """ 0706 Operation already in progress 0707 0708 0709 """ 0710 EALREADY = None 0711 """ 0712 Operation now in progress 0713 0714 0715 """ 0716 EINPROGRESS = None 0717 """ 0718 Stale NFS file handle 0719 0720 0721 """ 0722 ESTALE = None 0723 """ 0724 Structure needs cleaning 0725 0726 0727 """ 0728 EUCLEAN = None 0729 """ 0730 Not a XENIX named type file 0731 0732 0733 """ 0734 ENOTNAM = None 0735 """ 0736 No XENIX semaphores available 0737 0738 0739 """ 0740 ENAVAIL = None 0741 """ 0742 Is a named type file 0743 0744 0745 """ 0746 EISNAM = None 0747 """ 0748 Remote I/O error 0749 0750 0751 """ 0752 EREMOTEIO = None