ErrorCode.ErrorNo

Error code numbers.

Values

ValueMeaning
success0

The operation completed successfully.

noPermissionNativeError!(1, 5)

Operation not permitted.

interruptedSAError!4

Interrupted system call.

badDescriptorSAError!9

Bad file descriptor.

wouldBlockSAError!(11, 35)

An operation on a non-blocking socket would block.

noMemoryNativeError!(12, 14)

Out of memory.

accessDeniedSAError!13

Access denied.

faultSAError!14

An invalid pointer address detected.

noSuchDeviceNativeError!(19, 20)

No such device.

invalidArgumentSAError!22

An invalid argument was supplied.

tooManyDescriptorsNativeError!(23, 331)

The limit on the number of open file descriptors.

noDescriptorsSAError!24

The limit on the number of open file descriptors.

brokenPipeNativeError!(32, 109)

Broken pipe.

nameTooLongSAError!(36, 63)

The name was too long.

notSocketSAError!(88, 38)

A socket operation was attempted on a non-socket.

protocolErroreProtocolError

Protocol error.

messageTooLongSAError!(90, 40)

Message too long.

wrongProtocolTypeSAError!(91, 41)

Wrong protocol type for socket.

noProtocolOptionSAError!(92, 42)

Protocol not available.

protocolNotSupportedSAError!(93, 43)

The protocol is not implemented or has not been configured.

socketNotSupportedSAError!(94, 44)

The support for the specified socket type does not exist in this address family.

operationNotSupportedSAError!(95, 45)

The address family is no supported by the protocol family.

addressFamilyNotSupportedSAError!(97, 47)

Address family specified is not supported.

addressInUseSAError!(98, 48)

Address already in use.

networkDownSAError!(100, 50)

The network is not available.

networkUnreachableSAError!(101, 51)

No route to host.

networkResetSAError!(102, 52)

Network dropped connection because of reset.

connectionAbortedSAError!(103, 53)

The connection has been aborted.

connectionResetSAError!(104, 54)

Connection reset by peer.

noBufferSpaceSAError!(105, 55)

No free buffer space is available for a socket operation.

alreadyConnectedSAError!(106, 56)

Transport endpoint is already connected.

notConnectedSAError!(107, 57)

Transport endpoint is not connected.

shutdownSAError!(108, 58)

Cannot send after transport endpoint shutdown.

timedOutSAError!(110, 60)

The connection attempt timed out, or the connected host has failed to respond.

connectionRefusedSAError!(111, 61)

Connection refused.

hostDownSAError!(112, 64)

Host is down.

hostUnreachableSAError!(113, 65)

No route to host.

alreadyStartedSAError!(114, 37)

Operation already in progress.

inProgressSAError!(115, 36)

Operation now in progress.

cancelledSAError!(125, 103)

Operation cancelled.

Meta