EventLoopError
Different Error
s that are specific to EventLoop
operations / implementations.
enum EventLoopError
Different Error
s that are specific to EventLoop
operations / implementations.
enum EventLoopError
import NIOCore
The core abstractions that make up SwiftNIO.
case unsupportedOperation
An operation was executed that is not supported by the EventLoop
case cancelled
An scheduled task was cancelled.
case shutdown
The EventLoop
was shutdown already.
case shutdownFailed
Shutting down the EventLoop
failed.
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 the ChannelPipeline
to inform the user of an error.
enum DatagramChannelError
struct IOError
An Error
for an IO operation.
struct NIOAsyncWriterError
Errors thrown by the NIOAsyncWriter
.
struct NIOAttemptedToRemoveHandlerMultipleTimesError
The removal of a ChannelHandler
using ChannelPipeline.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 a SocketAddress
.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
var description: String { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
import MongoKitten
var localizedDescription: String { get }
Retrieve the localized description for this error.