Structureswift-nio 2.72.0NIOCore
IOError
An Error
for an IO operation.
struct IOError
See also
enum ByteToMessageDecoderError
Common errors thrown by
ByteToMessageDecoder
s.enum ChannelError
An error that can occur on
Channel
operations.enum ChannelPipelineError
Error
that is used by theChannelPipeline
to inform the user of an error.enum DatagramChannelError
enum EventLoopError
Different
Error
s that are specific toEventLoop
operations / implementations.struct NIOAsyncWriterError
Errors thrown by the
NIOAsyncWriter
.struct NIOAttemptedToRemoveHandlerMultipleTimesError
The removal of a
ChannelHandler
usingChannelPipeline.removeHandler
has been attempted more than once.struct NIOMulticastNotImplementedError
Multicast has not been properly implemented on this channel.
struct NIOMulticastNotSupportedError
Multicast is not supported on this interface.
struct NIOTooManyBytesError
An error that is thrown when the number of bytes in an AsyncSequence exceeds the limit.
enum SocketAddressError
Special
Error
that may be thrown if we fail to create aSocketAddress
.
Citizens in NIOCore
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Error
A type representing an error value that can be thrown.
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Types
Show obsolete interfaces (1)
Hide obsolete interfaces
Type members
init(errnoCode: CInt, reason: String
) Creates a new `IOError``
Show obsolete interfaces (1)
Hide obsolete interfaces
init(errnoCode: CInt, function: StaticString
) Creates a new `IOError``
Instance members
var description: String
var errnoCode: CInt
The
errno
that was set for the operation.var localizedDescription: String