Expand description
This library defines an Error struct that represents error numbers returned from macOS system calls.
Structs§
- Error
- Type for error numbers returned from macOS system calls.
Constants§
- E2BIG
- Argument list too long
- EACCES
- Permission denied
- EADDRINUSE
- Address already in use
- EADDRNOTAVAIL
- Can’t assign requested address
- EAFNOSUPPORT
- Address family not supported by protocol family
- EAGAIN
- Resource temporarily unavailable
- EALREADY
- Operation already in progress
- EAUTH
- Authentication error
- EBADARCH
- Bad CPU type in executable
- EBADEXEC
- Bad executable
- EBADF
- Bad file descriptor
- EBADMACHO
- Malformed Macho file
- EBADMSG
- Bad message
- EBADRPC
- RPC struct is bad
- EBUSY
- Device / Resource busy
- ECANCELED
- Operation canceled
- ECHILD
- No child processes
- ECONNABORTED
- Software caused connection abort
- ECONNREFUSED
- Connection refused
- ECONNRESET
- Connection reset by peer
- EDEADLK
- Resource deadlock avoided
- EDESTADDRREQ
- Destination address required
- EDEVERR
- Device error, e.g. paper out
- EDOM
- Numerical argument out of domain
- EDQUOT
- Disc quota exceeded
- EEXIST
- File exists
- EFAULT
- Bad address
- EFBIG
- File too large
- EFTYPE
- Inappropriate file type or format
- EHOSTDOWN
- Host is down
- EHOSTUNREACH
- No route to host
- EIDRM
- Identifier removed
- EILSEQ
- Illegal byte sequence
- EINPROGRESS
- Operation now in progress
- EINTR
- Interrupted system call
- EINVAL
- Invalid argument
- EIO
- Input/output error
- EISCONN
- Socket is already connected
- EISDIR
- Is a directory
- ELOOP
- Too many levels of symbolic links
- EMFILE
- Too many open files
- EMLINK
- Too many links
- EMSGSIZE
- Message too long
- EMULTIHOP
- Reserved
- ENAMETOOLONG
- File name too long
- ENEEDAUTH
- Need authenticator
- ENETDOWN
- Network is down
- ENETRESET
- Network dropped connection on reset
- ENETUNREACH
- Network is unreachable
- ENFILE
- Too many open files in system
- ENOATTR
- Attribute not found
- ENOBUFS
- No buffer space available
- ENODATA
- No message available on STREAM
- ENODEV
- Operation not supported by device
- ENOENT
- No such file or directory
- ENOEXEC
- Exec format error
- ENOLCK
- No locks available
- ENOLINK
- Reserved
- ENOMEM
- Cannot allocate memory
- ENOMSG
- No message of desired type
- ENOPOLICY
- No such policy registered
- ENOPROTOOPT
- Protocol not available
- ENOSPC
- No space left on device
- ENOSR
- No STREAM resources
- ENOSTR
- Not a STREAM
- ENOSYS
- Function not implemented
- ENOTBLK
- Block device required
- ENOTCONN
- Socket is not connected
- ENOTDIR
- Not a directory
- ENOTEMPTY
- Directory not empty
- ENOTRECOVERABLE
- State not recoverable
- ENOTSOCK
- Socket operation on non-socket
- ENOTSUP
- Operation not supported
- ENOTTY
- Inappropriate ioctl for device
- ENXIO
- Device not configured
- EOPNOTSUPP
- Operation not supported on socket
- EOVERFLOW
- Value too large to be stored in data type
- EOWNERDEAD
- Previous owner died
- EPERM
- Operation not permitted
- EPFNOSUPPORT
- Protocol family not supported
- EPIPE
- Broken pipe
- EPROCLIM
- Too many processes
- EPROCUNAVAIL
- Bad procedure for program
- EPROGMISMATCH
- Program version wrong
- EPROGUNAVAIL
- RPC prog. not avail
- EPROTO
- Protocol error
- EPROTONOSUPPORT
- Protocol not supported
- EPROTOTYPE
- Protocol wrong type for socket
- EPWROFF
- Device power is off
- EQFULL
- Interface output queue is full
- ERANGE
- Result too large
- EREMOTE
- Too many levels of remote in path
- EROFS
- Read-only file system
- ERPCMISMATCH
- RPC version wrong
- ESHLIBVERS
- Shared library version mismatch
- ESHUTDOWN
- Can’t send after socket shutdown
- ESOCKTNOSUPPORT
- Socket type not supported
- ESPIPE
- Illegal seek
- ESRCH
- No such process
- ESTALE
- Stale NFS file handle
- ETIME
- STREAM ioctl timeout
- ETIMEDOUT
- Operation timed out
- ETOOMANYREFS
- Too many references: can’t splice
- ETXTBSY
- Text file busy
- EUSERS
- Too many users
- EWOULDBLOCK
- Operation would block (alias for
EAGAIN
) - EXDEV
- Cross-device link