Exception: Redis::Cluster::CommandErrorCollection
- Defined in:
- lib/redis/errors.rb
Overview
Raised when error occurs on any node of cluster.
Instance Attribute Summary collapse
- 
  
    
      #errors  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute errors. 
Instance Method Summary collapse
- 
  
    
      #initialize(errors, error_message = 'Command errors were replied on any node')  ⇒ CommandErrorCollection 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CommandErrorCollection. 
Constructor Details
#initialize(errors, error_message = 'Command errors were replied on any node') ⇒ CommandErrorCollection
Returns a new instance of CommandErrorCollection.
| 67 68 69 70 | # File 'lib/redis/errors.rb', line 67 def initialize(errors, = 'Command errors were replied on any node') @errors = errors super() end | 
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
| 63 64 65 | # File 'lib/redis/errors.rb', line 63 def errors @errors end |