errno — 표준 errno 시스템 기호¶
This module makes available standard errno system symbols. The value of each
symbol is the corresponding integer value. The names and descriptions are
borrowed from linux/include/errno.h, which should be
all-inclusive.
- 
errno.errorcode¶ errno 값에서 하부 시스템의 문자열 이름으로의 매핑을 제공하는 딕셔너리입니다. 예를 들어,
errno.errorcode[errno.EPERM]는'EPERM'로 매핑됩니다.
숫자 에러 코드를 에러 메시지로 변환하려면, os.strerror()를 사용하십시오.
다음 목록에서, 현재 플랫폼에서 사용되지 않는 기호는 모듈에서 정의하지 않습니다. 정의된 기호의 구체적인 목록은 errno.errorcode.keys()로 사용 가능합니다. 사용할 수 있는 기호는 다음과 같습니다:
- 
errno.EPERM¶ Operation not permitted. This error is mapped to the exception
PermissionError.
- 
errno.ENOENT¶ No such file or directory. This error is mapped to the exception
FileNotFoundError.
- 
errno.ESRCH¶ No such process. This error is mapped to the exception
ProcessLookupError.
- 
errno.EINTR¶ Interrupted system call. This error is mapped to the exception
InterruptedError.
- 
errno.EIO¶ I/O error – I/O 에러
- 
errno.ENXIO¶ No such device or address – 그런 장치나 주소가 없습니다.
- 
errno.E2BIG¶ Arg list too long – 인자 목록이 너무 깁니다.
- 
errno.ENOEXEC¶ Exec format error – Exec 포맷 에러
- 
errno.EBADF¶ Bad file number – 잘못된 파일 번호
- 
errno.ECHILD¶ No child processes. This error is mapped to the exception
ChildProcessError.
- 
errno.EAGAIN¶ Try again. This error is mapped to the exception
BlockingIOError.
- 
errno.ENOMEM¶ Out of memory – 메모리 부족
- 
errno.EACCES¶ Permission denied. This error is mapped to the exception
PermissionError.
- 
errno.EFAULT¶ Bad address – 잘못된 주소
- 
errno.ENOTBLK¶ Block device required – 블록 장치가 필요합니다
- 
errno.EBUSY¶ Device or resource busy – 장치나 자원이 사용 중입니다
- 
errno.EEXIST¶ File exists. This error is mapped to the exception
FileExistsError.
- 
errno.EXDEV¶ Cross-device link – 장치 간 링크
- 
errno.ENODEV¶ No such device – 그런 장치가 없습니다
- 
errno.ENOTDIR¶ Not a directory. This error is mapped to the exception
NotADirectoryError.
- 
errno.EISDIR¶ Is a directory. This error is mapped to the exception
IsADirectoryError.
- 
errno.EINVAL¶ Invalid argument – 잘못된 인자
- 
errno.ENFILE¶ File table overflow – 파일 테이블 오버플로
- 
errno.EMFILE¶ Too many open files – 열려있는 파일이 너무 많습니다
- 
errno.ENOTTY¶ Not a typewriter – 타자기가 아닙니다
- 
errno.ETXTBSY¶ Text file busy – 텍스트 파일이 사용 중입니다
- 
errno.EFBIG¶ File too large – 파일이 너무 큽니다
- 
errno.ENOSPC¶ No space left on device – 장치에 남은 공간이 없습니다.
- 
errno.ESPIPE¶ Illegal seek – 잘못된 탐색
- 
errno.EROFS¶ Read-only file system – 읽기 전용 파일 시스템
- 
errno.EMLINK¶ Too many links – 링크가 너무 많습니다
- 
errno.EPIPE¶ Broken pipe. This error is mapped to the exception
BrokenPipeError.
- 
errno.EDOM¶ Math argument out of domain of func – 함수의 범위를 벗어난 수학 인자
- 
errno.ERANGE¶ Math result not representable – 수학 결과를 표현할 수 없습니다
- 
errno.EDEADLK¶ Resource deadlock would occur – 자원 교착 상태가 발생합니다
- 
errno.ENAMETOOLONG¶ File name too long – 파일 이름이 너무 깁니다
- 
errno.ENOLCK¶ No record locks available – 사용 가능한 레코드 록이 없습니다
- 
errno.ENOSYS¶ Function not implemented – 기능이 구현되지 않았습니다
- 
errno.ENOTEMPTY¶ Directory not empty – 디렉터리가 비어 있지 않습니다
- 
errno.ELOOP¶ Too many symbolic links encountered – 마주친 심볼릭 링크가 너무 많습니다
- 
errno.EWOULDBLOCK¶ Operation would block. This error is mapped to the exception
BlockingIOError.
- 
errno.ENOMSG¶ No message of desired type – 원하는 유형의 메시지가 없습니다
- 
errno.EIDRM¶ Identifier removed – 식별자가 삭제되었습니다
- 
errno.ECHRNG¶ Channel number out of range – 채널 번호가 범위를 벗어났습니다
- 
errno.EL2NSYNC¶ Level 2 not synchronized – 수준 2가 동기화되지 않았습니다
- 
errno.EL3HLT¶ Level 3 halted – 수준 3이 정지되었습니다
- 
errno.EL3RST¶ Level 3 reset – 수준 3이 재설정되었습니다
- 
errno.ELNRNG¶ Link number out of range – 링크 번호가 범위를 벗어났습니다
- 
errno.EUNATCH¶ Protocol driver not attached – 프로토콜 드라이버가 연결되지 않았습니다
- 
errno.ENOCSI¶ No CSI structure available – 사용 가능한 CSI 구조가 없습니다
- 
errno.EL2HLT¶ Level 2 halted – 수준 2가 중지되었습니다
- 
errno.EBADE¶ Invalid exchange – 잘못된 교환
- 
errno.EBADR¶ Invalid request descriptor – 잘못된 요청 기술자
- 
errno.EXFULL¶ Exchange full – 교환 포화
- 
errno.ENOANO¶ No anode – anode가 없습니다
- 
errno.EBADRQC¶ Invalid request code – 유효하지 않은 요청 코드
- 
errno.EBADSLT¶ Invalid slot – 유효하지 않은 슬롯
- 
errno.EDEADLOCK¶ File locking deadlock error – 파일 잠금 교착 상태 에러
- 
errno.EBFONT¶ Bad font file format – 잘못된 글꼴 파일 형식
- 
errno.ENOSTR¶ Device not a stream – 장치가 스트림이 아닙니다
- 
errno.ENODATA¶ No data available – 데이터가 없습니다
- 
errno.ETIME¶ Timer expired – 타이머가 만료되었습니다
- 
errno.ENOSR¶ Out of streams resources – 스트림 자원 부족
- 
errno.ENONET¶ Machine is not on the network – 기계가 네트워크에 없습니다.
- 
errno.ENOPKG¶ Package not installed – 패키지가 설치되지 않았습니다
- 
errno.EREMOTE¶ Object is remote – 객체가 원격입니다
- 
errno.ENOLINK¶ Link has been severed – 링크가 절단되었습니다
- 
errno.EADV¶ Advertise error – 광고 에러
- 
errno.ESRMNT¶ Srmount error – srmount 에러
- 
errno.ECOMM¶ Communication error on send – 전송 시 통신 에러
- 
errno.EPROTO¶ Protocol error – 프로토콜 에러
- 
errno.EMULTIHOP¶ Multihop attempted – 다중 홉을 시도했습니다
- 
errno.EDOTDOT¶ RFS specific error – RFS 특정 에러
- 
errno.EBADMSG¶ Not a data message – 데이터 메시지가 아닙니다
- 
errno.EOVERFLOW¶ Value too large for defined data type – 정의된 데이터형에 비해 값이 너무 큽니다
- 
errno.ENOTUNIQ¶ Name not unique on network – 이름이 네트워크에서 고유하지 않습니다
- 
errno.EBADFD¶ File descriptor in bad state – 잘못된 상태의 파일 기술자
- 
errno.EREMCHG¶ Remote address changed – 원격 주소가 변경되었습니다
- 
errno.ELIBACC¶ Can not access a needed shared library – 필요한 공유 라이브러리에 액세스할 수 없습니다.
- 
errno.ELIBBAD¶ Accessing a corrupted shared library – 손상된 공유 라이브러리 액세스
- 
errno.ELIBSCN¶ .lib section in a.out corrupted – 손상된 a.out의 .lib 섹션
- 
errno.ELIBMAX¶ Attempting to link in too many shared libraries – 너무 많은 공유 라이브러리 연결 시도
- 
errno.ELIBEXEC¶ Cannot exec a shared library directly – 공유 라이브러리를 직접 실행할 수 없습니다
- 
errno.EILSEQ¶ Illegal byte sequence – 잘못된 바이트 시퀀스
- 
errno.ERESTART¶ Interrupted system call should be restarted – 중단된 시스템 호출을 다시 시작해야 합니다
- 
errno.ESTRPIPE¶ Streams pipe error – 스트림 파이프 에러
- 
errno.EUSERS¶ Too many users – 사용자가 너무 많습니다
- 
errno.ENOTSOCK¶ Socket operation on non-socket – 비 소켓에 대한 소켓 연산
- 
errno.EDESTADDRREQ¶ Destination address required – 목적지 주소가 필요합니다
- 
errno.EMSGSIZE¶ Message too long – 메시지가 너무 깁니다
- 
errno.EPROTOTYPE¶ Protocol wrong type for socket – 소켓에 대한 프로토콜 유형이 잘못되었습니다
- 
errno.ENOPROTOOPT¶ Protocol not available – 프로토콜을 사용할 수 없습니다
- 
errno.EPROTONOSUPPORT¶ Protocol not supported – 지원되지 않는 프로토콜
- 
errno.ESOCKTNOSUPPORT¶ Socket type not supported – 지원되지 않는 소켓 유형
- 
errno.EOPNOTSUPP¶ Operation not supported on transport endpoint – 트랜스포트 끝점에서 지원되지 않는 연산
- 
errno.EPFNOSUPPORT¶ Protocol family not supported – 지원되지 않는 프로토콜 패밀리
- 
errno.EAFNOSUPPORT¶ Address family not supported by protocol – 프로토콜이 지원하지 않는 주소 패밀리
- 
errno.EADDRINUSE¶ Address already in use – 이미 사용 중인 주소
- 
errno.EADDRNOTAVAIL¶ Cannot assign requested address – 요청된 주소를 할당할 수 없습니다.
- 
errno.ENETDOWN¶ Network is down – 네트워크가 다운되었습니다
- 
errno.ENETUNREACH¶ Network is unreachable – 네트워크에 도달할 수 없습니다
- 
errno.ENETRESET¶ Network dropped connection because of reset – 재설정으로 인해 네트워크 연결이 끊겼습니다
- 
errno.ECONNABORTED¶ Software caused connection abort. This error is mapped to the exception
ConnectionAbortedError.
- 
errno.ECONNRESET¶ Connection reset by peer. This error is mapped to the exception
ConnectionResetError.
- 
errno.ENOBUFS¶ No buffer space available – 사용 가능한 버퍼 공간이 없습니다.
- 
errno.EISCONN¶ Transport endpoint is already connected – 트랜스포트 끝점이 이미 연결되어 있습니다.
- 
errno.ENOTCONN¶ Transport endpoint is not connected – 트랜스포트 끝점이 연결되어 있지 않습니다.
- 
errno.ESHUTDOWN¶ Cannot send after transport endpoint shutdown. This error is mapped to the exception
BrokenPipeError.
- 
errno.ETOOMANYREFS¶ Too many references: cannot splice – 참조가 너무 많습니다: 연결할 수 없습니다
- 
errno.ETIMEDOUT¶ Connection timed out. This error is mapped to the exception
TimeoutError.
- 
errno.ECONNREFUSED¶ Connection refused. This error is mapped to the exception
ConnectionRefusedError.
- 
errno.EHOSTDOWN¶ Host is down – 호스트가 다운되었습니다
- 
errno.EHOSTUNREACH¶ No route to host – 호스트로 가는 길이 없습니다
- 
errno.EALREADY¶ Operation already in progress. This error is mapped to the exception
BlockingIOError.
- 
errno.EINPROGRESS¶ Operation now in progress. This error is mapped to the exception
BlockingIOError.
- 
errno.ESTALE¶ Stale NFS file handle – 오래된 NFS 파일 핸들
- 
errno.EUCLEAN¶ Structure needs cleaning – 구조 청소 필요
- 
errno.ENOTNAM¶ Not a XENIX named type file – XENIX 이름 붙은 형식 파일이 아닙니다
- 
errno.ENAVAIL¶ No XENIX semaphores available – 사용할 수 있는 XENIX 세마포어가 없습니다
- 
errno.EISNAM¶ Is a named type file – 이름 붙은 형식 파일입니다
- 
errno.EREMOTEIO¶ Remote I/O error – 원격 I/O 에러
- 
errno.EDQUOT¶ Quota exceeded – 할당량 초과