StructureFoundation5.9.0
POSIXError
Describes an error in the POSIX error domain.
struct POSIXError
Citizens in Foundation
Conformances
protocol CustomNSError
Describes an error type that specifically provides a domain, code, and user-info dictionary.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Error
A type representing an error value that can be thrown.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Members
static var E2BIG: POSIXError.Code
Argument list too long.
static var EACCES: POSIXError.Code
Permission denied.
static var EADDRINUSE: POSIXError.Code
Address already in use.
static var EADDRNOTAVAIL: POSIXError.Code
Can’t assign requested address.
static var EAFNOSUPPORT: POSIXError.Code
Address family not supported by protocol family.
static var EAGAIN: POSIXError.Code
Resource temporarily unavailable.
static var EALREADY: POSIXError.Code
Operation already in progress.
static var EBADF: POSIXError.Code
Bad file descriptor.
static var EBADMSG: POSIXError.Code
Bad message.
static var EBUSY: POSIXError.Code
Device / Resource busy.
static var ECANCELED: POSIXError.Code
Operation canceled.
static var ECHILD: POSIXError.Code
No child processes.
static var ECONNABORTED: POSIXError.Code
Software caused connection abort.
static var ECONNREFUSED: POSIXError.Code
Connection refused.
static var ECONNRESET: POSIXError.Code
Connection reset by peer.
static var EDEADLK: POSIXError.Code
Resource deadlock avoided.
static var EDESTADDRREQ: POSIXError.Code
Destination address required.
static var EDOM: POSIXError.Code
Numerical argument out of domain.
static var EDQUOT: POSIXError.Code
Disk quota exceeded.
static var EEXIST: POSIXError.Code
File exists.
static var EFAULT: POSIXError.Code
Bad address.
static var EFBIG: POSIXError.Code
File too large.
static var EHOSTDOWN: POSIXError.Code
Host is down.
static var EHOSTUNREACH: POSIXError.Code
No route to host.
static var EIDRM: POSIXError.Code
Identifier removed.
static var EILSEQ: POSIXError.Code
Illegal byte sequence.
static var EINPROGRESS: POSIXError.Code
Operation now in progress.
static var EINTR: POSIXError.Code
Interrupted system call.
static var EINVAL: POSIXError.Code
Invalid argument.
static var EIO: POSIXError.Code
Input/output error.
static var EISCONN: POSIXError.Code
Socket is already connected.
static var EISDIR: POSIXError.Code
Is a directory.
static var ELOOP: POSIXError.Code
Too many levels of symbolic links.
static var EMFILE: POSIXError.Code
Too many open files.
static var EMLINK: POSIXError.Code
Too many links.
static var EMSGSIZE: POSIXError.Code
Message too long.
static var EMULTIHOP: POSIXError.Code
Reserved.
static var ENAMETOOLONG: POSIXError.Code
File name too long.
static var ENETDOWN: POSIXError.Code
Network is down.
static var ENETRESET: POSIXError.Code
Network dropped connection on reset.
static var ENETUNREACH: POSIXError.Code
Network is unreachable.
static var ENFILE: POSIXError.Code
Too many open files in system.
static var ENOBUFS: POSIXError.Code
No buffer space available.
static var ENODATA: POSIXError.Code
No message available on STREAM.
static var ENODEV: POSIXError.Code
Operation not supported by device.
static var ENOENT: POSIXError.Code
No such file or directory.
static var ENOEXEC: POSIXError.Code
Exec format error.
static var ENOLCK: POSIXError.Code
No locks available.
static var ENOLINK: POSIXError.Code
Reserved.
static var ENOMEM: POSIXError.Code
Cannot allocate memory.
static var ENOMSG: POSIXError.Code
No message of desired type.
static var ENOPROTOOPT: POSIXError.Code
Protocol not available.
static var ENOSPC: POSIXError.Code
No space left on device.
static var ENOSR: POSIXError.Code
No STREAM resources.
static var ENOSTR: POSIXError.Code
Not a STREAM.
static var ENOSYS: POSIXError.Code
Function not implemented.
static var ENOTBLK: POSIXError.Code
Block device required.
static var ENOTCONN: POSIXError.Code
Socket is not connected.
static var ENOTDIR: POSIXError.Code
Not a directory.
static var ENOTEMPTY: POSIXError.Code
Directory not empty.
static var ENOTRECOVERABLE: POSIXError.Code
State not recoverable.
static var ENOTSOCK: POSIXError.Code
Socket operation on non-socket.
static var ENOTTY: POSIXError.Code
Inappropriate ioctl for device.
static var ENXIO: POSIXError.Code
Device not configured.
static var EOVERFLOW: POSIXError.Code
Value too large to be stored in data type.
static var EOWNERDEAD: POSIXError.Code
Previous owner died.
static var EPERM: POSIXError.Code
Operation not permitted.
static var EPFNOSUPPORT: POSIXError.Code
Protocol family not supported.
static var EPIPE: POSIXError.Code
Broken pipe.
static var EPROTO: POSIXError.Code
Protocol error.
static var EPROTONOSUPPORT: POSIXError.Code
Protocol not supported.
static var EPROTOTYPE: POSIXError.Code
Protocol wrong type for socket.
static var ERANGE: POSIXError.Code
Result too large.
static var EREMOTE: POSIXError.Code
Too many levels of remote in path.
static var EROFS: POSIXError.Code
Read-only file system.
static var ESHUTDOWN: POSIXError.Code
Can’t send after socket shutdown.
static var ESOCKTNOSUPPORT: POSIXError.Code
Socket type not supported.
static var ESPIPE: POSIXError.Code
Illegal seek.
static var ESRCH: POSIXError.Code
No such process.
static var ESTALE: POSIXError.Code
Stale NFS file handle.
static var ETIME: POSIXError.Code
STREAM ioctl timeout.
static var ETIMEDOUT: POSIXError.Code
Operation timed out.
static var ETOOMANYREFS: POSIXError.Code
Too many references: can’t splice.
static var ETXTBSY: POSIXError.Code
Text file busy.
static var EUSERS: POSIXError.Code
Too many users.
static var EWOULDBLOCK: POSIXError.Code
Operation would block.
static var EXDEV: POSIXError.Code
Cross-device link.
typealias Code
Features
var halfWidthCornerQuoted: String
var localizedDescription: String
Retrieve the localized description for this error.
static func != (Self, Self
) -> Bool