Class: Sequel::TransactionConnectionValidator::DisconnectRetry

Inherits:
DatabaseDisconnectError
  • Object
show all
Defined in:
lib/sequel/extensions/transaction_connection_validator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#connectionObject

The connection that raised the disconnect error



29
30
31
# File 'lib/sequel/extensions/transaction_connection_validator.rb', line 29

def connection
  @connection
end

#database_errorObject

The underlying disconnect error, in case it needs to be reraised.



32
33
34
# File 'lib/sequel/extensions/transaction_connection_validator.rb', line 32

def database_error
  @database_error
end