DarwinErrors class

These numbers can usually be found in the OSError.errorCode property value, when the Dart/Flutter app runs on macOS or iOS platform.

Constructors

DarwinErrors.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

addressAlreadyInUse → const int
Alias for EADDRINUSE from errno.h in Darwin. "Address already in use" error.
addressFamilyNotSupportedByProtocolFamily → const int
Alias for EAFNOSUPPORT from errno.h in Darwin. "Address family not supported by protocol family" error.
argumentListTooLong → const int
Alias for E2BIG from errno.h in Darwin. "Argument list too long" error.
attributeNotFound → const int
Alias for ENOATTR from errno.h in Darwin. "Attribute not found" error.
authenticationError → const int
Alias for EAUTH from errno.h in Darwin. "Authentication error" error.
badAddress → const int
Alias for EFAULT from errno.h in Darwin. "Bad address" error.
badCpuTypeInExecutable → const int
Alias for EBADARCH from errno.h in Darwin. "Bad CPU type in executable" error.
badExecutable → const int
Alias for EBADEXEC from errno.h in Darwin. "Bad executable" error.
badFileDescriptor → const int
Alias for EBADF from errno.h in Darwin. "Bad file descriptor" error.
badMessage → const int
Alias for EBADMSG from errno.h in Darwin. "Bad message" error.
badProcedureForProgram → const int
Alias for EPROCUNAVAIL from errno.h in Darwin. "Bad procedure for program" error.
blockDeviceRequired → const int
Alias for ENOTBLK from errno.h in Darwin. "Block device required" error.
brokenPipe → const int
Alias for EPIPE from errno.h in Darwin. "Broken pipe" error.
cannotAllocateMemory → const int
Alias for ENOMEM from errno.h in Darwin. "Cannot allocate memory" error.
cannotAssignRequestedAddress → const int
Alias for EADDRNOTAVAIL from errno.h in Darwin. "Can't assign requested address" error.
cannotSendAfterSocketShutdown → const int
Alias for ESHUTDOWN from errno.h in Darwin. "Can't send after socket shutdown" error.
connectionRefused → const int
Alias for ECONNREFUSED from errno.h in Darwin. "Connection refused" error.
connectionResetByPeer → const int
Alias for ECONNRESET from errno.h in Darwin. "Connection reset by peer" error.
Alias for EXDEV from errno.h in Darwin. "Cross-device link" error.
destinationAddressRequired → const int
Alias for EDESTADDRREQ from errno.h in Darwin. "Destination address required" error.
deviceError → const int
Alias for EDEVERR from errno.h in Darwin. "Device error, e.g. paper out" error.
deviceNotConfigured → const int
Alias for ENXIO from errno.h in Darwin. "Device not configured" error.
devicePowerIsOff → const int
Alias for EPWROFF from errno.h in Darwin. "Device power is off" error.
deviceResourceBusy → const int
Alias for EBUSY from errno.h in Darwin. "Device / Resource busy" error.
directoryNotEmpty → const int
Alias for ENOTEMPTY from errno.h in Darwin. "Directory not empty" error.
discQuotaExceeded → const int
Alias for EDQUOT from errno.h in Darwin. "Disc quota exceeded" error.
e2big → const int
E2BIG: "Argument list too long" error from errno.h in Darwin.
eacces → const int
EACCES: "Permission denied" error from errno.h in Darwin.
eaddrinuse → const int
EADDRINUSE: "Address already in use" error from errno.h in Darwin.
eaddrnotavail → const int
EADDRNOTAVAIL: "Can't assign requested address" error from errno.h in Darwin.
eafnosupport → const int
EAFNOSUPPORT: "Address family not supported by protocol family" error from errno.h in Darwin.
eagain → const int
EAGAIN: "Resource temporarily unavailable" error from errno.h in Darwin.
ealready → const int
EALREADY: "Operation already in progress" error from errno.h in Darwin.
eauth → const int
EAUTH: "Authentication error" error from errno.h in Darwin.
ebadarch → const int
EBADARCH: "Bad CPU type in executable" error from errno.h in Darwin.
ebadexec → const int
EBADEXEC: "Bad executable" error from errno.h in Darwin.
ebadf → const int
EBADF: "Bad file descriptor" error from errno.h in Darwin.
ebadmacho → const int
EBADMACHO: "Malformed Macho file" error from errno.h in Darwin.
ebadmsg → const int
EBADMSG: "Bad message" error from errno.h in Darwin.
ebadrpc → const int
EBADRPC: "RPC struct is bad" error from errno.h in Darwin.
ebusy → const int
EBUSY: "Device / Resource busy" error from errno.h in Darwin.
ecanceled → const int
ECANCELED: "Operation canceled" error from errno.h in Darwin.
echild → const int
ECHILD: "No child processes" error from errno.h in Darwin.
econnaborted → const int
ECONNABORTED: "Software caused connection abort" error from errno.h in Darwin.
econnrefused → const int
ECONNREFUSED: "Connection refused" error from errno.h in Darwin.
econnreset → const int
ECONNRESET: "Connection reset by peer" error from errno.h in Darwin.
edeadlk → const int
EDEADLK: "Resource deadlock avoided" error from errno.h in Darwin.
edestaddrreq → const int
EDESTADDRREQ: "Destination address required" error from errno.h in Darwin.
edeverr → const int
EDEVERR: "Device error, e.g. paper out" error from errno.h in Darwin.
edom → const int
EDOM: "Numerical argument out of domain" error from errno.h in Darwin.
edquot → const int
EDQUOT: "Disc quota exceeded" error from errno.h in Darwin.
eexist → const int
EEXIST: "File exists" error from errno.h in Darwin.
efault → const int
EFAULT: "Bad address" error from errno.h in Darwin.
efbig → const int
EFBIG: "File too large" error from errno.h in Darwin.
eftype → const int
EFTYPE: "Inappropriate file type or format" error from errno.h in Darwin.
ehostdown → const int
EHOSTDOWN: "Host is down" error from errno.h in Darwin.
ehostunreach → const int
EHOSTUNREACH: "No route to host" error from errno.h in Darwin.
eidrm → const int
EIDRM: "Identifier removed" error from errno.h in Darwin.
eilseq → const int
EILSEQ: "Illegal byte sequence" error from errno.h in Darwin.
einprogress → const int
EINPROGRESS: "Operation now in progress" error from errno.h in Darwin.
eintr → const int
EINTR: "Interrupted system call" error from errno.h in Darwin.
einval → const int
EINVAL: "Invalid argument" error from errno.h in Darwin.
eio → const int
EIO: "Input/output error" error from errno.h in Darwin.
eisconn → const int
EISCONN: "Socket is already connected" error from errno.h in Darwin.
eisdir → const int
EISDIR: "Is a directory" error from errno.h in Darwin.
elast → const int
ELAST: "Must be equal largest errno" error from errno.h in Darwin.
eloop → const int
ELOOP: "Too many levels of symbolic links" error from errno.h in Darwin.
emfile → const int
EMFILE: "Too many open files" error from errno.h in Darwin.
EMLINK: "Too many links" error from errno.h in Darwin.
emsgsize → const int
EMSGSIZE: "Message too long" error from errno.h in Darwin.
emultihop → const int
EMULTIHOP: "Reserved" error from errno.h in Darwin.
enametoolong → const int
ENAMETOOLONG: "File name too long" error from errno.h in Darwin.
eneedauth → const int
ENEEDAUTH: "Need authenticator" error from errno.h in Darwin.
enetdown → const int
ENETDOWN: "Network is down" error from errno.h in Darwin.
enetreset → const int
ENETRESET: "Network dropped connection on reset" error from errno.h in Darwin.
enetunreach → const int
ENETUNREACH: "Network is unreachable" error from errno.h in Darwin.
enfile → const int
ENFILE: "Too many open files in system" error from errno.h in Darwin.
enoattr → const int
ENOATTR: "Attribute not found" error from errno.h in Darwin.
enobufs → const int
ENOBUFS: "No buffer space available" error from errno.h in Darwin.
enodata → const int
ENODATA: "No message available on STREAM" error from errno.h in Darwin.
enodev → const int
ENODEV: "Operation not supported by device" error from errno.h in Darwin.
enoent → const int
ENOENT: "No such file or directory" error from errno.h in Darwin.
enoexec → const int
ENOEXEC: "Exec format error" error from errno.h in Darwin.
enolck → const int
ENOLCK: "No locks available" error from errno.h in Darwin.
ENOLINK: "Reserved" error from errno.h in Darwin.
enomem → const int
ENOMEM: "Cannot allocate memory" error from errno.h in Darwin.
enomsg → const int
ENOMSG: "No message of desired type" error from errno.h in Darwin.
enopolicy → const int
ENOPOLICY: "No such policy registered" error from errno.h in Darwin.
enoprotoopt → const int
ENOPROTOOPT: "Protocol not available" error from errno.h in Darwin.
enospc → const int
ENOSPC: "No space left on device" error from errno.h in Darwin.
enosr → const int
ENOSR: "No STREAM resources" error from errno.h in Darwin.
enostr → const int
ENOSTR: "Not a STREAM" error from errno.h in Darwin.
enosys → const int
ENOSYS: "Function not implemented" error from errno.h in Darwin.
enotblk → const int
ENOTBLK: "Block device required" error from errno.h in Darwin.
enotconn → const int
ENOTCONN: "Socket is not connected" error from errno.h in Darwin.
enotdir → const int
ENOTDIR: "Not a directory" error from errno.h in Darwin.
enotempty → const int
ENOTEMPTY: "Directory not empty" error from errno.h in Darwin.
enotrecoverable → const int
ENOTRECOVERABLE: "State not recoverable" error from errno.h in Darwin.
enotsock → const int
ENOTSOCK: "Socket operation on non-socket" error from errno.h in Darwin.
enotsup → const int
ENOTSUP: "Operation not supported" error from errno.h in Darwin.
enotty → const int
ENOTTY: "Inappropriate ioctl for device" error from errno.h in Darwin.
enxio → const int
ENXIO: "Device not configured" error from errno.h in Darwin.
eopnotsupp → const int
EOPNOTSUPP: "Operation not supported on socket" error from errno.h in Darwin.
eoverflow → const int
EOVERFLOW: "Value too large to be stored in data type" error from errno.h in Darwin.
eownerdead → const int
EOWNERDEAD: "Previous owner died" error from errno.h in Darwin.
eperm → const int
EPERM: "Operation not permitted" error from errno.h in Darwin.
epfnosupport → const int
EPFNOSUPPORT: "Protocol family not supported" error from errno.h in Darwin.
epipe → const int
EPIPE: "Broken pipe" error from errno.h in Darwin.
eproclim → const int
EPROCLIM: "Too many processes" error from errno.h in Darwin.
eprocunavail → const int
EPROCUNAVAIL: "Bad procedure for program" error from errno.h in Darwin.
eprogmismatch → const int
EPROGMISMATCH: "Program version wrong" error from errno.h in Darwin.
eprogunavail → const int
EPROGUNAVAIL: "RPC prog. not avail" error from errno.h in Darwin.
eproto → const int
EPROTO: "Protocol error" error from errno.h in Darwin.
eprotonosupport → const int
EPROTONOSUPPORT: "Protocol not supported" error from errno.h in Darwin.
eprototype → const int
EPROTOTYPE: "Protocol wrong type for socket" error from errno.h in Darwin.
epwroff → const int
EPWROFF: "Device power is off" error from errno.h in Darwin.
eqfull → const int
EQFULL: "Interface output queue is full" error from errno.h in Darwin.
erange → const int
ERANGE: "Result too large" error from errno.h in Darwin.
eremote → const int
EREMOTE: "Too many levels of remote in path" error from errno.h in Darwin.
erofs → const int
EROFS: "Read-only file system" error from errno.h in Darwin.
erpcmismatch → const int
ERPCMISMATCH: "RPC version wrong" error from errno.h in Darwin.
eshlibvers → const int
ESHLIBVERS: "Shared library version mismatch" error from errno.h in Darwin.
eshutdown → const int
ESHUTDOWN: "Can't send after socket shutdown" error from errno.h in Darwin.
esocktnosupport → const int
ESOCKTNOSUPPORT: "Socket type not supported" error from errno.h in Darwin.
espipe → const int
ESPIPE: "Illegal seek" error from errno.h in Darwin.
esrch → const int
ESRCH: "No such process" error from errno.h in Darwin.
estale → const int
ESTALE: "Stale NFS file handle" error from errno.h in Darwin.
etime → const int
ETIME: "STREAM ioctl timeout" error from errno.h in Darwin.
etimedout → const int
ETIMEDOUT: "Operation timed out" error from errno.h in Darwin.
etoomanyrefs → const int
ETOOMANYREFS: "Too many references: can't splice" error from errno.h in Darwin.
etxtbsy → const int
ETXTBSY: "Text file busy" error from errno.h in Darwin.
eusers → const int
EUSERS: "Too many users" error from errno.h in Darwin.
ewouldblock → const int
EWOULDBLOCK: "Operation would block" error from errno.h in Darwin.
exdev → const int
EXDEV: "Cross-device link" error from errno.h in Darwin.
execFormatError → const int
Alias for ENOEXEC from errno.h in Darwin. "Exec format error" error.
fileExists → const int
Alias for EEXIST from errno.h in Darwin. "File exists" error.
fileNameTooLong → const int
Alias for ENAMETOOLONG from errno.h in Darwin. "File name too long" error.
fileTooLarge → const int
Alias for EFBIG from errno.h in Darwin. "File too large" error.
functionNotImplemented → const int
Alias for ENOSYS from errno.h in Darwin. "Function not implemented" error.
hostIsDown → const int
Alias for EHOSTDOWN from errno.h in Darwin. "Host is down" error.
identifierRemoved → const int
Alias for EIDRM from errno.h in Darwin. "Identifier removed" error.
illegalByteSequence → const int
Alias for EILSEQ from errno.h in Darwin. "Illegal byte sequence" error.
illegalSeek → const int
Alias for ESPIPE from errno.h in Darwin. "Illegal seek" error.
inappropriateFileTypeOrFormat → const int
Alias for EFTYPE from errno.h in Darwin. "Inappropriate file type or format" error.
inappropriateIoctlForDevice → const int
Alias for ENOTTY from errno.h in Darwin. "Inappropriate ioctl for device" error.
inputOutputError → const int
Alias for EIO from errno.h in Darwin. "Input/output error" error.
interfaceOutputQueueIsFull → const int
Alias for EQFULL from errno.h in Darwin. "Interface output queue is full" error.
interruptedSystemCall → const int
Alias for EINTR from errno.h in Darwin. "Interrupted system call" error.
invalidArgument → const int
Alias for EINVAL from errno.h in Darwin. "Invalid argument" error.
isDirectory → const int
Alias for EISDIR from errno.h in Darwin. "Is a directory" error.
malformedMachoFile → const int
Alias for EBADMACHO from errno.h in Darwin. "Malformed Macho file" error.
messageTooLong → const int
Alias for EMSGSIZE from errno.h in Darwin. "Message too long" error.
mustBeEqualLargestErrno → const int
Alias for ELAST from errno.h in Darwin. "Must be equal largest errno" error.
needAuthenticator → const int
Alias for ENEEDAUTH from errno.h in Darwin. "Need authenticator" error.
networkDroppedConnectionOnReset → const int
Alias for ENETRESET from errno.h in Darwin. "Network dropped connection on reset" error.
networkIsDown → const int
Alias for ENETDOWN from errno.h in Darwin. "Network is down" error.
networkIsUnreachable → const int
Alias for ENETUNREACH from errno.h in Darwin. "Network is unreachable" error.
noBufferSpaceAvailable → const int
Alias for ENOBUFS from errno.h in Darwin. "No buffer space available" error.
noChildProcesses → const int
Alias for ECHILD from errno.h in Darwin. "No child processes" error.
noLocksAvailable → const int
Alias for ENOLCK from errno.h in Darwin. "No locks available" error.
noMessageAvailableOnStream → const int
Alias for ENODATA from errno.h in Darwin. "No message available on STREAM" error.
noMessageOfDesiredType → const int
Alias for ENOMSG from errno.h in Darwin. "No message of desired type" error.
noRouteToHost → const int
Alias for EHOSTUNREACH from errno.h in Darwin. "No route to host" error.
noSpaceLeftOnDevice → const int
Alias for ENOSPC from errno.h in Darwin. "No space left on device" error.
noStreamResources → const int
Alias for ENOSR from errno.h in Darwin. "No STREAM resources" error.
noSuchFileOrDirectory → const int
Alias for ENOENT from errno.h in Darwin. "No such file or directory" error.
noSuchPolicyRegistered → const int
Alias for ENOPOLICY from errno.h in Darwin. "No such policy registered" error.
noSuchProcess → const int
Alias for ESRCH from errno.h in Darwin. "No such process" error.
notDirectory → const int
Alias for ENOTDIR from errno.h in Darwin. "Not a directory" error.
notStream → const int
Alias for ENOSTR from errno.h in Darwin. "Not a STREAM" error.
numericalArgumentOutOfDomain → const int
Alias for EDOM from errno.h in Darwin. "Numerical argument out of domain" error.
operationAlreadyInProgress → const int
Alias for EALREADY from errno.h in Darwin. "Operation already in progress" error.
operationCanceled → const int
Alias for ECANCELED from errno.h in Darwin. "Operation canceled" error.
operationNotPermitted → const int
Alias for EPERM from errno.h in Darwin. "Operation not permitted" error.
operationNotSupported → const int
Alias for ENOTSUP from errno.h in Darwin. "Operation not supported" error.
operationNotSupportedByDevice → const int
Alias for ENODEV from errno.h in Darwin. "Operation not supported by device" error.
operationNotSupportedOnSocket → const int
Alias for EOPNOTSUPP from errno.h in Darwin. "Operation not supported on socket" error.
operationNowInProgress → const int
Alias for EINPROGRESS from errno.h in Darwin. "Operation now in progress" error.
operationTimedOut → const int
Alias for ETIMEDOUT from errno.h in Darwin. "Operation timed out" error.
operationWouldBlock → const int
Alias for EWOULDBLOCK from errno.h in Darwin. "Operation would block" error.
permissionDenied → const int
Alias for EACCES from errno.h in Darwin. "Permission denied" error.
previousOwnerDied → const int
Alias for EOWNERDEAD from errno.h in Darwin. "Previous owner died" error.
programVersionWrong → const int
Alias for EPROGMISMATCH from errno.h in Darwin. "Program version wrong" error.
protocolError → const int
Alias for EPROTO from errno.h in Darwin. "Protocol error" error.
protocolFamilyNotSupported → const int
Alias for EPFNOSUPPORT from errno.h in Darwin. "Protocol family not supported" error.
protocolNotAvailable → const int
Alias for ENOPROTOOPT from errno.h in Darwin. "Protocol not available" error.
protocolNotSupported → const int
Alias for EPROTONOSUPPORT from errno.h in Darwin. "Protocol not supported" error.
protocolWrongTypeForSocket → const int
Alias for EPROTOTYPE from errno.h in Darwin. "Protocol wrong type for socket" error.
readOnlyFileSystem → const int
Alias for EROFS from errno.h in Darwin. "Read-only file system" error.
resourceDeadlockAvoided → const int
Alias for EDEADLK from errno.h in Darwin. "Resource deadlock avoided" error.
resourceTemporarilyUnavailable → const int
Alias for EAGAIN from errno.h in Darwin. "Resource temporarily unavailable" error.
resultTooLarge → const int
Alias for ERANGE from errno.h in Darwin. "Result too large" error.
rpcProgNotAvail → const int
Alias for EPROGUNAVAIL from errno.h in Darwin. "RPC prog. not avail" error.
rpcStructIsBad → const int
Alias for EBADRPC from errno.h in Darwin. "RPC struct is bad" error.
rpcVersionWrong → const int
Alias for ERPCMISMATCH from errno.h in Darwin. "RPC version wrong" error.
sharedLibraryVersionMismatch → const int
Alias for ESHLIBVERS from errno.h in Darwin. "Shared library version mismatch" error.
socketIsAlreadyConnected → const int
Alias for EISCONN from errno.h in Darwin. "Socket is already connected" error.
socketIsNotConnected → const int
Alias for ENOTCONN from errno.h in Darwin. "Socket is not connected" error.
socketOperationOnNonSocket → const int
Alias for ENOTSOCK from errno.h in Darwin. "Socket operation on non-socket" error.
socketTypeNotSupported → const int
Alias for ESOCKTNOSUPPORT from errno.h in Darwin. "Socket type not supported" error.
softwareCausedConnectionAbort → const int
Alias for ECONNABORTED from errno.h in Darwin. "Software caused connection abort" error.
staleNfsFileHandle → const int
Alias for ESTALE from errno.h in Darwin. "Stale NFS file handle" error.
stateNotRecoverable → const int
Alias for ENOTRECOVERABLE from errno.h in Darwin. "State not recoverable" error.
streamIoctlTimeout → const int
Alias for ETIME from errno.h in Darwin. "STREAM ioctl timeout" error.
textFileBusy → const int
Alias for ETXTBSY from errno.h in Darwin. "Text file busy" error.
tooManyLevelsOfRemoteInPath → const int
Alias for EREMOTE from errno.h in Darwin. "Too many levels of remote in path" error.
Alias for ELOOP from errno.h in Darwin. "Too many levels of symbolic links" error.
Alias for EMLINK from errno.h in Darwin. "Too many links" error.
tooManyOpenFiles → const int
Alias for EMFILE from errno.h in Darwin. "Too many open files" error.
tooManyOpenFilesInSystem → const int
Alias for ENFILE from errno.h in Darwin. "Too many open files in system" error.
tooManyProcesses → const int
Alias for EPROCLIM from errno.h in Darwin. "Too many processes" error.
tooManyReferencesCanTSplice → const int
Alias for ETOOMANYREFS from errno.h in Darwin. "Too many references: can't splice" error.
tooManyUsers → const int
Alias for EUSERS from errno.h in Darwin. "Too many users" error.
valueTooLargeToBeStoredInDataType → const int
Alias for EOVERFLOW from errno.h in Darwin. "Value too large to be stored in data type" error.