ByteToMessageDecoderError
Common errors thrown by ByteToMessageDecoder
s.
enum ByteToMessageDecoderError
Common errors thrown by ByteToMessageDecoder
s.
enum ByteToMessageDecoderError
import NIOCore
The core abstractions that make up SwiftNIO.
case dataReceivedInErrorState(Error, ByteBuffer)
More data has been received by a ByteToMessageHandler
despite the fact that an error has previously been emitted. The associated Error
is the error previously emitted and the ByteBuffer
is the extra data that has been received. The common cause for this error to be emitted is the user not having torn down the Channel
after previously an Error
has been sent through the pipeline using fireErrorCaught
.
case leftoverDataWhenDone(ByteBuffer)
This error can be thrown by ByteToMessageDecoder
s if there was unexpectedly some left-over data when the ByteToMessageDecoder
was removed from the pipeline or the Channel
was closed.
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
enum EventLoopError
Different Error
s that are specific to EventLoop
operations / implementations.
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 Error : Sendable
A type representing an error value that can be thrown.
protocol Sendable
struct PayloadTooLargeError
This error can be thrown by ByteToMessageDecoder
s if the incoming payload is larger than the max specified.
import MongoKitten
var localizedDescription: String { get }
Retrieve the localized description for this error.