Class: Sequel::TransactionConnectionValidator::DisconnectRetry
- Inherits:
- 
      DatabaseDisconnectError
      
        - Object
- DatabaseDisconnectError
- Sequel::TransactionConnectionValidator::DisconnectRetry
 
- Defined in:
- lib/sequel/extensions/transaction_connection_validator.rb
Instance Attribute Summary collapse
- 
  
    
      #connection  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The connection that raised the disconnect error. 
- 
  
    
      #database_error  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The underlying disconnect error, in case it needs to be reraised. 
Instance Attribute Details
#connection ⇒ Object
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_error ⇒ Object
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 |