class DB::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:

db/error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(connection : DB::Connection) #

[View source]

Instance Method Detail

def connection : Connection #

[View source]