class NNTP::Error::ConnectionLost

Overview

Raised when an established connection is lost probably due to socket/network issues. It is used by the connection pool retry logic.

Defined in:

nntp/error.cr

Constructors

Instance Method Summary

Instance methods inherited from class NNTP::Error::PoolResourceLost(NNTP::Connection)

resource : T resource

Constructor methods inherited from class NNTP::Error::PoolResourceLost(NNTP::Connection)

new(resource : T) new

Constructor Detail

def self.new(resource : T) #

[View source]

Instance Method Detail

def connection #

[View source]