An error number used by system calls to communicate what kind of error
occurred.
Members (113)
get · iOS 14.0+
readOnlyFileSystem
TypeScript
get readOnlyFileSystem(): Errno
Swift declaration
static var readOnlyFileSystem: Errno { get }
Read-only file system.
You attempted to modify a file or directory
on a file system that was read-only at the time.
The corresponding C error is `EROFS`.
get · iOS 14.0+
tooManyOpenFilesInSystem
TypeScript
get tooManyOpenFilesInSystem(): Errno
Swift declaration
static var tooManyOpenFilesInSystem: Errno { get }
The system has too many open files.
The maximum number of file descriptors
allowable on the system has been reached;
requests to open a file can't be satisfied
until you close at least one file descriptor.
The corresponding C error is `ENFILE`.
get · iOS 14.0+
lastErrnoValue
TypeScript
get lastErrnoValue(): Errno
Swift declaration
static var lastErrnoValue: Errno { get }
The largest valid error.
This value is the largest valid value
encountered using the C `errno` global variable.
It isn't a valid error.
The corresponding C error is `ELAST`.
get · iOS 14.0+
badAddress
TypeScript
get badAddress(): Errno
Swift declaration
static var badAddress: Errno { get }
Bad address.
An address passed as an argument to a system call was invalid.
The corresponding C error is `EFAULT`.
get · iOS 14.0+
badCPUType
TypeScript
get badCPUType(): Errno
Swift declaration
static var badCPUType: Errno { get }
Bad CPU type in executable.
The specified executable doesn't support the current CPU.
The corresponding C error is `EBADARCH`.
get · iOS 14.0+
badMessage
TypeScript
get badMessage(): Errno
Swift declaration
static var badMessage: Errno { get }
Bad message.
The message to be received is inappropriate
for the attempted operation.
The corresponding C error is `EBADMSG`.
get · iOS 14.0+
brokenPipe
TypeScript
get brokenPipe(): Errno
Swift declaration
static var brokenPipe: Errno { get }
Broken pipe.
You attempted to write to a pipe, socket, or FIFO
that doesn't have a process reading its data.
The corresponding C error is `EPIPE`.
get · iOS 14.0+
fileExists
TypeScript
get fileExists(): Errno
Swift declaration
static var fileExists: Errno { get }
File exists.
An existing file was mentioned in an inappropriate context;
for example, as the new link name in a link function.
The corresponding C error is `EEXIST`.
get · iOS 14.0+
hostIsDown
TypeScript
get hostIsDown(): Errno
Swift declaration
static var hostIsDown: Errno { get }
The host is down.
A socket operation failed because the destination host was down.
The corresponding C error is `EHOSTDOWN`.
get · iOS 14.0+
noFunction
TypeScript
get noFunction(): Errno
Swift declaration
static var noFunction: Errno { get }
Function not implemented.
You attempted a system call that isn't available on this system.
The corresponding C error is `ENOSYS`.
get · iOS 14.0+
outOfRange
TypeScript
get outOfRange(): Errno
Swift declaration
static var outOfRange: Errno { get }
Numerical result out of range.
A numerical result of the function
was too large to fit in the available space;
for example, because it exceeded a floating point number's
level of precision.
The corresponding C error is `ERANGE`.
get · iOS 14.0+
wouldBlock
TypeScript
get wouldBlock(): Errno
Swift declaration
static var wouldBlock: Errno { get }
Operation would block.
The corresponding C error is `EWOULDBLOCK`.
get · iOS 14.0+
description
TypeScript
getDescription($self: Errno): string
Swift declaration
var description: String { get }
A textual representation of the most recent error
returned by a system call.
The corresponding C function is `strerror(3)`.
get · iOS 14.0+
deviceError
TypeScript
get deviceError(): Errno
Swift declaration
static var deviceError: Errno { get }
Device error.
A device error has occurred;
for example, a printer running out of paper.
The corresponding C error is `EDEVERR`.
get · iOS 14.0+
illegalSeek
TypeScript
get illegalSeek(): Errno
Swift declaration
static var illegalSeek: Errno { get }
Illegal seek.
An `lseek(2)` function was issued on a socket, pipe or FIFO.
The corresponding C error is `ESPIPE`.
get · iOS 14.0+
interrupted
TypeScript
get interrupted(): Errno
Swift declaration
static var interrupted: Errno { get }
Interrupted function call.
The process caught an asynchronous signal (such as `SIGINT` or `SIGQUIT`)
during the execution of an interruptible function.
If the signal handler performs a normal return,
the caller of the interrupted function call receives this error.
The corresponding C error is `EINTR`.
get · iOS 14.0+
isDirectory
TypeScript
get isDirectory(): Errno
Swift declaration
static var isDirectory: Errno { get }
Is a directory.
You attempted to open a directory with write mode specified.
Directories can be opened only in read mode.
The corresponding C error is `EISDIR`.
get · iOS 14.0+
networkDown
TypeScript
get networkDown(): Errno
Swift declaration
static var networkDown: Errno { get }
Network is down.
A socket operation encountered a dead network.
The corresponding C error is `ENETDOWN`.
get · iOS 14.0+
outOfDomain
TypeScript
get outOfDomain(): Errno
Swift declaration
static var outOfDomain: Errno { get }
Numerical argument out of domain.
A numerical input argument was outside the defined domain of the
mathematical function.
The corresponding C error is `EDOM`.
get · iOS 14.0+
addressInUse
TypeScript
get addressInUse(): Errno
Swift declaration
static var addressInUse: Errno { get }
Address already in use.
Only one use of each address is normally permitted.
The corresponding C error is `EADDRINUSE`.
get · iOS 14.0+
fileTooLarge
TypeScript
get fileTooLarge(): Errno
Swift declaration
static var fileTooLarge: Errno { get }
The file is too large.
The file exceeds the maximum size allowed by the file system.
For example, the maximum size on UFS is about 2.1 gigabytes,
and about 9,223 petabytes on HFS-Plus and Apple File System.
The corresponding C error is `EFBIG`.
get · iOS 14.0+
improperLink
TypeScript
get improperLink(): Errno
Swift declaration
static var improperLink: Errno { get }
Improper link.
You attempted to create a hard link to a file on another file system.
The corresponding C error is `EXDEV`.
get · iOS 14.0+
networkReset
TypeScript
get networkReset(): Errno
Swift declaration
static var networkReset: Errno { get }
Network dropped connection on reset.
The host you were connected to crashed and restarted.
The corresponding C error is `ENETRESET`.
get · iOS 14.0+
noSuchPolicy
TypeScript
get noSuchPolicy(): Errno
Swift declaration
static var noSuchPolicy: Errno { get }
No such policy registered.
The corresponding C error is `ENOPOLICY`.
get · iOS 14.0+
notDirectory
TypeScript
get notDirectory(): Errno
Swift declaration
static var notDirectory: Errno { get }
Not a directory.
A component of the specified pathname exists,
but it wasn't a directory,
when a directory was expected.
The corresponding C error is `ENOTDIR`.
get · iOS 14.0+
notPermitted
TypeScript
get notPermitted(): Errno
Swift declaration
static var notPermitted: Errno { get }
Operation not permitted.
An attempt was made to perform an operation
limited to processes with appropriate privileges
or to the owner of a file or other resources.
The corresponding C error is `EPERM`.
get · iOS 14.0+
notSupported
TypeScript
get notSupported(): Errno
Swift declaration
static var notSupported: Errno { get }
Not supported.
The attempted operation isn't supported
for the type of object referenced.
The corresponding C error is `ENOTSUP`.
get · iOS 14.0+
resourceBusy
TypeScript
get resourceBusy(): Errno
Swift declaration
static var resourceBusy: Errno { get }
Resource busy.
You attempted to use a system resource which was in use at the time,
in a manner that would have conflicted with the request.
The corresponding C error is `EBUSY`.
get · iOS 14.0+
textFileBusy
TypeScript
get textFileBusy(): Errno
Swift declaration
static var textFileBusy: Errno { get }
Text file busy.
The new process was a pure procedure (shared text) file,
which was already open for writing by another process,
or while the pure procedure file was being executed,
an open call requested write access.
The corresponding C error is `ETXTBSY`.
get · iOS 14.0+
tooManyLinks
TypeScript
get tooManyLinks(): Errno
Swift declaration
static var tooManyLinks: Errno { get }
Too many links.
The maximum number of hard links to a single file (32767)
has been exceeded.
The corresponding C error is `EMLINK`.
get · iOS 14.0+
tooManyUsers
TypeScript
get tooManyUsers(): Errno
Swift declaration
static var tooManyUsers: Errno { get }
Too many users.
The quota system ran out of table entries.
The corresponding C error is `EUSERS`.
get · iOS 14.0+
badExecutable
TypeScript
get badExecutable(): Errno
Swift declaration
static var badExecutable: Errno { get }
Bad executable or shared library.
The executable or shared library being referenced was malformed.
The corresponding C error is `EBADEXEC`.
get · iOS 14.0+
noBufferSpace
TypeScript
get noBufferSpace(): Errno
Swift declaration
static var noBufferSpace: Errno { get }
No buffer space available.
An operation on a socket or pipe wasn't performed
because the system lacked sufficient buffer space
or because a queue was full.
The corresponding C error is `ENOBUFS`.
get · iOS 14.0+
noRouteToHost
TypeScript
get noRouteToHost(): Errno
Swift declaration
static var noRouteToHost: Errno { get }
No route to host.
A socket operation failed because the destination host was unreachable.
The corresponding C error is `EHOSTUNREACH`.
get · iOS 14.0+
noSuchProcess
TypeScript
get noSuchProcess(): Errno
Swift declaration
static var noSuchProcess: Errno { get }
No such process.
There isn't a process that corresponds to the specified process ID.
The corresponding C error is `ESRCH`.
get · iOS 14.0+
nowInProgress
TypeScript
get nowInProgress(): Errno
Swift declaration
static var nowInProgress: Errno { get }
Operation now in progress.
You attempted an operation that takes a long time to complete,
such as `connect(2)` or `connectx(2)`,
on a nonblocking object.
See also `fcntl(2)`.
The corresponding C error is `EINPROGRESS`.
get · iOS 14.0+
protocolError
TypeScript
get protocolError(): Errno
Swift declaration
static var protocolError: Errno { get }
Protocol error.
Some protocol error occurred.
This error is device-specific,
but generally isn't related to a hardware failure.
The corresponding C error is `EPROTO`.
get · iOS 14.0+
argListTooLong
TypeScript
get argListTooLong(): Errno
Swift declaration
static var argListTooLong: Errno { get }
The argument list is too long.
The number of bytes
used for the argument and environment list of the new process
exceeded the limit `NCARGS`, as defined in `<sys/param.h>`.
The corresponding C error is `E2BIG`.
get · iOS 14.0+
malformedMachO
TypeScript
get malformedMachO(): Errno
Swift declaration
static var malformedMachO: Errno { get }
Malformed Mach-O file.
The Mach object file is malformed.
The corresponding C error is `EBADMACHO`.
get · iOS 14.0+
messageTooLong
TypeScript
get messageTooLong(): Errno
Swift declaration
static var messageTooLong: Errno { get }
Message too long.
A message sent on a socket was larger than
the internal message buffer or some other network limit.
The corresponding C error is `EMSGSIZE`.
get · iOS 14.0+
noChildProcess
TypeScript
get noChildProcess(): Errno
Swift declaration
static var noChildProcess: Errno { get }
No child processes.
A `wait(2)` or `waitpid(2)` function was executed
by a process that doesn't have any existing child processes
or whose child processes are all already being waited for.
The corresponding C error is `ECHILD`.
get · iOS 14.0+
notBlockDevice
TypeScript
get notBlockDevice(): Errno
Swift declaration
static var notBlockDevice: Errno { get }
Not a block device.
You attempted a block device operation on a nonblock device or file.
The corresponding C error is `ENOTBLK`.
get · iOS 14.0+
notRecoverable
TypeScript
get notRecoverable(): Errno
Swift declaration
static var notRecoverable: Errno { get }
State not recoverable.
The corresponding C error is `ENOTRECOVERABLE`.
get · iOS 14.0+
socketShutdown
TypeScript
get socketShutdown(): Errno
Swift declaration
static var socketShutdown: Errno { get }
Can't send after socket shutdown.
A request to send data wasn't permitted
because the socket had already been shut down
with a previous `shutdown(2)` call.
The corresponding C error is `ESHUTDOWN`.
get · iOS 14.0+
addressRequired
TypeScript
get addressRequired(): Errno
Swift declaration
static var addressRequired: Errno { get }
Destination address required.
A required address was omitted from a socket operation.
The corresponding C error is `EDESTADDRREQ`.
get · iOS 14.0+
connectionAbort
TypeScript
get connectionAbort(): Errno
Swift declaration
static var connectionAbort: Errno { get }
Software caused a connection abort.
A connection abort was caused internal to your host machine.
The corresponding C error is `ECONNABORTED`.
get · iOS 14.0+
connectionReset
TypeScript
get connectionReset(): Errno
Swift declaration
static var connectionReset: Errno { get }
Connection reset by peer.
A connection was forcibly closed by a peer.
This normally results from a loss of the connection
on the remote socket due to a timeout or a reboot.
The corresponding C error is `ECONNRESET`.
get · iOS 14.0+
execFormatError
TypeScript
get execFormatError(): Errno
Swift declaration
static var execFormatError: Errno { get }
Executable format error.
A request was made to execute a file that,
although it has the appropriate permissions,
isn't in the format required for an executable file.
The corresponding C error is `ENOEXEC`.
get · iOS 14.0+
fileNameTooLong
TypeScript
get fileNameTooLong(): Errno
Swift declaration
static var fileNameTooLong: Errno { get }
The file name is too long.
A component of a pathname exceeded 255 (`MAXNAMELEN`) characters,
or an entire pathname exceeded 1023 (`MAXPATHLEN-1`) characters.
The corresponding C error is `ENAMETOOLONG`.
get · iOS 14.0+
invalidArgument
TypeScript
get invalidArgument(): Errno
Swift declaration
static var invalidArgument: Errno { get }
Invalid argument.
One or more of the specified arguments wasn't valid;
for example, specifying an undefined signal to a signal or kill function.
The corresponding C error is `EINVAL`.
get · iOS 14.0+
outputQueueFull
TypeScript
get outputQueueFull(): Errno
Swift declaration
static var outputQueueFull: Errno { get }
Interface output queue is full.
The corresponding C error is `EQFULL`.
get · iOS 14.0+
rpcUnsuccessful
TypeScript
get rpcUnsuccessful(): Errno
Swift declaration
static var rpcUnsuccessful: Errno { get }
The structure of the remote procedure call (RPC) is bad.
Exchange of RPC information was unsuccessful.
The corresponding C error is `EBADRPC`.
get · iOS 14.0+
alreadyInProcess
TypeScript
get alreadyInProcess(): Errno
Swift declaration
static var alreadyInProcess: Errno { get }
Operation already in progress.
You attempted an operation on a nonblocking object
that already had an operation in progress.
The corresponding C error is `EALREADY`.
get · iOS 14.0+
debugDescription
TypeScript
getDebugDescription($self: Errno): string
Swift declaration
var debugDescription: String { get }
A textual representation,
suitable for debugging,
of the most recent error returned by a system call.
The corresponding C function is `strerror(3)`.
get · iOS 14.0+
devicePowerIsOff
TypeScript
get devicePowerIsOff(): Errno
Swift declaration
static var devicePowerIsOff: Errno { get }
Device power is off.
The corresponding C error is `EPWROFF`.
get · iOS 14.0+
permissionDenied
TypeScript
get permissionDenied(): Errno
Swift declaration
static var permissionDenied: Errno { get }
Permission denied.
You attempted to access a file
in a way that's forbidden by the file's access permissions.
The corresponding C error is `EACCES`.
get · iOS 14.0+
tooManyOpenFiles
TypeScript
get tooManyOpenFiles(): Errno
Swift declaration
static var tooManyOpenFiles: Errno { get }
This process has too many open files.
To check the current limit,
call the `getdtablesize` function.
The corresponding C error is `EMFILE`.
get · iOS 14.0+
tooManyProcesses
TypeScript
get tooManyProcesses(): Errno
Swift declaration
static var tooManyProcesses: Errno { get }
Too many processes.
The corresponding C error is `EPROCLIM`.
get · iOS 14.0+
attributeNotFound
TypeScript
get attributeNotFound(): Errno
Swift declaration
static var attributeNotFound: Errno { get }
Attribute not found.
The specified extended attribute doesn't exist.
The corresponding C error is `ENOATTR`.
get · iOS 14.0+
badFileDescriptor
TypeScript
get badFileDescriptor(): Errno
Swift declaration
static var badFileDescriptor: Errno { get }
Bad file descriptor.
A file descriptor argument was out of range,
referred to no open file,
or a read (write) request was made to a file
that was only open for writing (reading).
The corresponding C error is `EBADF`.
get · iOS 14.0+
connectionRefused
TypeScript
get connectionRefused(): Errno
Swift declaration
static var connectionRefused: Errno { get }
Connection refused.
No connection could be made
because the target machine actively refused it.
This usually results from trying to connect to a service
that's inactive on the foreign host.
The corresponding C error is `ECONNREFUSED`.
get · iOS 14.0+
directoryNotEmpty
TypeScript
get directoryNotEmpty(): Errno
Swift declaration
static var directoryNotEmpty: Errno { get }
Directory not empty.
A directory with entries other than `.` and `..`
was supplied to a `remove(2)` directory or `rename(2)` call.
The corresponding C error is `ENOTEMPTY`.
get · iOS 14.0+
diskQuotaExceeded
TypeScript
get diskQuotaExceeded(): Errno
Swift declaration
static var diskQuotaExceeded: Errno { get }
Disk quota exceeded.
A write to an ordinary file,
the creation of a directory or symbolic link,
or the creation of a directory entry failed
because the user's quota of disk blocks was exhausted,
or the allocation of an inode for a newly created file failed
because the user's quota of inodes was exhausted.
The corresponding C error is `EDQUOT`.
get · iOS 14.0+
identifierRemoved
TypeScript
get identifierRemoved(): Errno
Swift declaration
static var identifierRemoved: Errno { get }
Identifier removed.
An IPC identifier was removed while the current process was waiting on it.
The corresponding C error is `EIDRM`.
get · iOS 14.0+
needAuthenticator
TypeScript
get needAuthenticator(): Errno
Swift declaration
static var needAuthenticator: Errno { get }
Need authenticator.
Before mounting the given NFS file system,
you must obtain an authentication ticket.
The corresponding C error is `ENEEDAUTH`.
get · iOS 14.0+
noStreamResources
TypeScript
get noStreamResources(): Errno
Swift declaration
static var noStreamResources: Errno { get }
Reserved.
This error is reserved for future use.
The corresponding C error is `ENOSR`.
get · iOS 14.0+
previousOwnerDied
TypeScript
get previousOwnerDied(): Errno
Swift declaration
static var previousOwnerDied: Errno { get }
Previous pthread mutex owner died.
The corresponding C error is `EOWNERDEAD`.
get · iOS 14.0+
socketIsConnected
TypeScript
get socketIsConnected(): Errno
Swift declaration
static var socketIsConnected: Errno { get }
Socket is already connected.
A `connect(2)` or `connectx(2)` request was made
on an already connected socket,
or a `sendto(2)` or `sendmsg(2)` request was made
on a connected socket specified a destination when already connected.
The corresponding C error is `EISCONN`.
get · iOS 14.0+
tooManyReferences
TypeScript
get tooManyReferences(): Errno
Swift declaration
static var tooManyReferences: Errno { get }
Too many references: can't splice.
The corresponding C error is `ETOOMANYREFS`.
get · iOS 14.0+
networkUnreachable
TypeScript
get networkUnreachable(): Errno
Swift declaration
static var networkUnreachable: Errno { get }
Network is unreachable.
A socket operation was attempted to an unreachable network.
The corresponding C error is `ENETUNREACH`.
get · iOS 14.0+
rpcVersionMismatch
TypeScript
get rpcVersionMismatch(): Errno
Swift declaration
static var rpcVersionMismatch: Errno { get }
The version of the remote procedure call (RPC) is incorrect.
The version of RPC on the remote peer
isn't compatible with the local version.
The corresponding C error is `ERPCMISMATCH`.
get · iOS 14.0+
socketNotConnected
TypeScript
get socketNotConnected(): Errno
Swift declaration
static var socketNotConnected: Errno { get }
Socket is not connected.
A request to send or receive data wasn't permitted
because the socket wasn't connected and,
when sending on a datagram socket,
no address was supplied.
The corresponding C error is `ENOTCONN`.
get · iOS 14.0+
staleNFSFileHandle
TypeScript
get staleNFSFileHandle(): Errno
Swift declaration
static var staleNFSFileHandle: Errno { get }
Stale NFS file handle.
You attempted access an open file on an NFS file system,
which is now unavailable as referenced by the given file descriptor.
This may indicate that the file was deleted on the NFS server
or that some other catastrophic event occurred.
The corresponding C error is `ESTALE`.
get · iOS 14.0+
addressNotAvailable
TypeScript
get addressNotAvailable(): Errno
Swift declaration
static var addressNotAvailable: Errno { get }
Can't assign the requested address.
This error normally results from
an attempt to create a socket with an address that isn't on this machine.
The corresponding C error is `EADDRNOTAVAIL`.
get · iOS 14.0+
authenticationError
TypeScript
get authenticationError(): Errno
Swift declaration
static var authenticationError: Errno { get }
Authentication error.
The authentication ticket used to mount an NFS file system was invalid.
The corresponding C error is `EAUTH`.
get · iOS 14.0+
badFileTypeOrFormat
TypeScript
get badFileTypeOrFormat(): Errno
Swift declaration
static var badFileTypeOrFormat: Errno { get }
Inappropriate file type or format.
The file was the wrong type for the operation,
or a data file had the wrong format.
The corresponding C error is `EFTYPE`.
get · iOS 14.0+
illegalByteSequence
TypeScript
get illegalByteSequence(): Errno
Swift declaration
static var illegalByteSequence: Errno { get }
Illegal byte sequence.
While decoding a multibyte character,
the function encountered an invalid or incomplete sequence of bytes,
or the given wide character is invalid.
The corresponding C error is `EILSEQ`.
get · iOS 14.0+
tooManyRemoteLevels
TypeScript
get tooManyRemoteLevels(): Errno
Swift declaration
static var tooManyRemoteLevels: Errno { get }
Too many levels of remote in path.
The corresponding C error is `EREMOTE`.
get · iOS 14.0+
notSupportedOnSocket
TypeScript
get notSupportedOnSocket(): Errno
Swift declaration
static var notSupportedOnSocket: Errno { get }
Operation not supported on socket.
The attempted operation isn't supported for the type of socket referenced;
for example, trying to accept a connection on a datagram socket.
The corresponding C error is `EOPNOTSUPP`.
get · iOS 14.0+
protocolNotAvailable
TypeScript
get protocolNotAvailable(): Errno
Swift declaration
static var protocolNotAvailable: Errno { get }
Protocol not available.
A bad option or level was specified
in a `getsockopt(2)` or `setsockopt(2)` call.
The corresponding C error is `ENOPROTOOPT`.
get · iOS 14.0+
protocolNotSupported
TypeScript
get protocolNotSupported(): Errno
Swift declaration
static var protocolNotSupported: Errno { get }
Protocol not supported.
The protocol hasn't been configured into the system,
or no implementation for it exists.
The corresponding C error is `EPROTONOSUPPORT`.
get · iOS 14.0+
noSuchAddressOrDevice
TypeScript
get noSuchAddressOrDevice(): Errno
Swift declaration
static var noSuchAddressOrDevice: Errno { get }
No such device or address.
Input or output on a special file referred to a device that didn't exist,
or made a request beyond the limits of the device.
This error may also occur when, for example,
a tape drive isn't online or when there isn't a disk pack loaded on a drive.
The corresponding C error is `ENXIO`.
get · iOS 14.0+
noSuchFileOrDirectory
TypeScript
get noSuchFileOrDirectory(): Errno
Swift declaration
static var noSuchFileOrDirectory: Errno { get }
No such file or directory.
A component of a specified pathname didn't exist,
or the pathname was an empty string.
The corresponding C error is `ENOENT`.
get · iOS 14.0+
rpcProgramUnavailable
TypeScript
get rpcProgramUnavailable(): Errno
Swift declaration
static var rpcProgramUnavailable: Errno { get }
The remote procedure call (RPC) program isn't available.
The requested program isn't registered on the remote host.
The corresponding C error is `EPROGUNAVAIL`.
get · iOS 14.0+
socketTypeNotSupported
TypeScript
get socketTypeNotSupported(): Errno
Swift declaration
static var socketTypeNotSupported: Errno { get }
Socket type not supported.
Support for the socket type hasn't been configured into the system
or no implementation for it exists.
The corresponding C error is `ESOCKTNOSUPPORT`.
get · iOS 14.0+
rpcProcedureUnavailable
TypeScript
get rpcProcedureUnavailable(): Errno
Swift declaration
static var rpcProcedureUnavailable: Errno { get }
Bad procedure for program.
A remote procedure call was attempted for a procedure
that doesn't exist in the remote program.
The corresponding C error is `EPROCUNAVAIL`.
get · iOS 14.0+
addressFamilyNotSupported
TypeScript
get addressFamilyNotSupported(): Errno
Swift declaration
static var addressFamilyNotSupported: Errno { get }
The address family isn't supported by the protocol family.
An address incompatible with the requested protocol was used.
For example, you shouldn't necessarily expect
to be able to use name server addresses with ARPA Internet protocols.
The corresponding C error is `EAFNOSUPPORT`.
get · iOS 14.0+
rpcProgramVersionMismatch
TypeScript
get rpcProgramVersionMismatch(): Errno
Swift declaration
static var rpcProgramVersionMismatch: Errno { get }
The version of the remote procedure call (RPC) program is incorrect.
The requested version of the program
isn't available on the remote host.
The corresponding C error is `EPROGMISMATCH`.
get · iOS 14.0+
tooManySymbolicLinkLevels
TypeScript
get tooManySymbolicLinkLevels(): Errno
Swift declaration
static var tooManySymbolicLinkLevels: Errno { get }
Too many levels of symbolic links.
A pathname lookup involved more than eight symbolic links.
The corresponding C error is `ELOOP`.
get · iOS 14.0+
protocolFamilyNotSupported
TypeScript
get protocolFamilyNotSupported(): Errno
Swift declaration
static var protocolFamilyNotSupported: Errno { get }
Protocol family not supported.
The protocol family hasn't been configured into the system
or no implementation for it exists.
The corresponding C error is `EPFNOSUPPORT`.
get · iOS 14.0+
protocolWrongTypeForSocket
TypeScript
get protocolWrongTypeForSocket(): Errno
Swift declaration
static var protocolWrongTypeForSocket: Errno { get }
Protocol wrong for socket type.
A protocol was specified that doesn't support
the semantics of the socket type requested.
For example,
you can't use the ARPA Internet UDP protocol with type `SOCK_STREAM`.
The corresponding C error is `EPROTOTYPE`.
get · iOS 14.0+
inappropriateIOCTLForDevice
TypeScript
get inappropriateIOCTLForDevice(): Errno
Swift declaration
static var inappropriateIOCTLForDevice: Errno { get }
Inappropriate control function.
You attempted a control function
that can't be performed on the specified file or device.
For information about control functions, see `ioctl(2)`.
The corresponding C error is `ENOTTY`.
get · iOS 14.0+
sharedLibraryVersionMismatch
TypeScript
get sharedLibraryVersionMismatch(): Errno
Swift declaration
static var sharedLibraryVersionMismatch: Errno { get }
Shared library version mismatch.
The version of the shared library on the system
doesn't match the expected version.
The corresponding C error is `ESHLIBVERS`.
get · iOS 14.0+
operationNotSupportedByDevice
TypeScript
get operationNotSupportedByDevice(): Errno
Swift declaration
static var operationNotSupportedByDevice: Errno { get }
Operation not supported by device.
You attempted to apply an inappropriate function to a device;
for example, trying to read a write-only device such as a printer.
The corresponding C error is `ENODEV`.
get · iOS 14.0+
resourceTemporarilyUnavailable
TypeScript
get resourceTemporarilyUnavailable(): Errno
Swift declaration
static var resourceTemporarilyUnavailable: Errno { get }
Resource temporarily unavailable.
This is a temporary condition;
later calls to the same routine may complete normally.
Make the same function call again later.
The corresponding C error is `EAGAIN`.
get · iOS 14.0+
noData
TypeScript
get noData(): Errno
Swift declaration
static var noData: Errno { get }
No message available.
No message was available to be received by the requested operation.
The corresponding C error is `ENODATA`.
get · iOS 14.0+
noLink
TypeScript
get noLink(): Errno
Swift declaration
static var noLink: Errno { get }
Reserved.
This error is reserved for future use.
The corresponding C error is `ENOLINK`.
get · iOS 14.0+
ioError
TypeScript
get ioError(): Errno
Swift declaration
static var ioError: Errno { get }
Input/output error.
Some physical input or output error occurred.
This error isn't reported until
you attempt a subsequent operation on the same file descriptor,
and the error may be lost (overwritten) by subsequent errors.
The corresponding C error is `EIO`.
get · iOS 14.0+
noLocks
TypeScript
get noLocks(): Errno
Swift declaration
static var noLocks: Errno { get }
No locks available.
You have reached the system-imposed limit
on the number of simultaneous files.
The corresponding C error is `ENOLCK`.
get · iOS 14.0+
noSpace
TypeScript
get noSpace(): Errno
Swift declaration
static var noSpace: Errno { get }
Device out of space.
A write to an ordinary file,
the creation of a directory or symbolic link,
or the creation of a directory entry failed
because there aren't any available disk blocks on the file system,
or the allocation of an inode for a newly created file failed
because there aren't any inodes available on the file system.
The corresponding C error is `ENOSPC`.
get · iOS 14.0+
notUsed
TypeScript
get notUsed(): Errno
Swift declaration
static var notUsed: Errno { get }
Error. Not used.
get · iOS 14.0+
timeout
TypeScript
get timeout(): Errno
Swift declaration
static var timeout: Errno { get }
Reserved.
This error is reserved for future use.
The corresponding C error is `ETIME`.
get · iOS 14.0+
canceled
TypeScript
get canceled(): Errno
Swift declaration
static var canceled: Errno { get }
Operation canceled.
The scheduled operation was canceled.
The corresponding C error is `ECANCELED`.
get · iOS 14.0+
deadlock
TypeScript
get deadlock(): Errno
Swift declaration
static var deadlock: Errno { get }
Resource deadlock avoided.
You attempted to lock a system resource
that would have resulted in a deadlock.
The corresponding C error is `EDEADLK`.
get · iOS 14.0+
multiHop
TypeScript
get multiHop(): Errno
Swift declaration
static var multiHop: Errno { get }
Reserved.
This error is reserved for future use.
The corresponding C error is `EMULTIHOP`.
get · iOS 14.0+
noMemory
TypeScript
get noMemory(): Errno
Swift declaration
static var noMemory: Errno { get }
Can't allocate memory.
The new process image required more memory
than was allowed by the hardware
or by system-imposed memory management constraints.
A lack of swap space is normally temporary;
however, a lack of core is not.
You can increase soft limits up to their corresponding hard limits.
The corresponding C error is `ENOMEM`.
get · iOS 14.0+
overflow
TypeScript
get overflow(): Errno
Swift declaration
static var overflow: Errno { get }
Value too large to be stored in data type.
A numerical result of the function
is too large to be stored in the space that the caller provided.
The corresponding C error is `EOVERFLOW`.
init · iOS 14.0+
init
TypeScript
init(rawValue: number): Errno
Swift declaration
init(rawValue: CInt)
Creates a strongly typed error number from a raw C error number.
get · iOS 14.0+
rawValue
TypeScript
getRawValue($self: Errno): number
Swift declaration
let rawValue: CInt
The raw C error number.
get · iOS 14.0+
timedOut
TypeScript
get timedOut(): Errno
Swift declaration
static var timedOut: Errno { get }
Operation timed out.
A `connect(2)`, `connectx(2)` or `send(2)` request failed
because the connected party didn't properly respond
within the required period of time.
The timeout period is dependent on the communication protocol.
The corresponding C error is `ETIMEDOUT`.
get · iOS 14.0+
noMessage
TypeScript
get noMessage(): Errno
Swift declaration
static var noMessage: Errno { get }
No message of desired type.
An IPC message queue doesn't contain a message of the desired type,
or a message catalog doesn't contain the requested message.
The corresponding C error is `ENOMSG`.
get · iOS 14.0+
notSocket
TypeScript
get notSocket(): Errno
Swift declaration
static var notSocket: Errno { get }
A socket operation was performed on something that isn't a socket.
The corresponding C error is `ENOTSOCK`.
get · iOS 14.0+
notStream
TypeScript
get notStream(): Errno
Swift declaration
static var notStream: Errno { get }
Reserved.
This error is reserved for future use.
The corresponding C error is `ENOSTR`.