Required Instance Methodswift-nio 2.72.0NIOCore

    errorCaught(context:error:)

    An error was encountered earlier in the inbound ChannelPipeline.

    ChannelHandler.swift:215
    func errorCaught(context: ChannelHandlerContext, error: Error)

    Parameters

    context

    The ChannelHandlerContext which this ChannelHandler belongs to.

    error

    The Error that was encountered.

    This should call context.fireErrorCaught to forward the operation to the next _ChannelInboundHandler in the ChannelPipeline if you want to allow the next handler to also handle the error.

    Other requirements

    View members

    Hide members

    This section is hidden by default because it contains too many (8) members.

    Instance members

    Citizens in NIOCore

    Default implementations