Exception: ActiveSupport::Notifications::InstrumentationSubscriberError
- Inherits:
 - 
      RuntimeError
      
        
- Object
 - RuntimeError
 - ActiveSupport::Notifications::InstrumentationSubscriberError
 
 
- Defined in:
 - lib/active_support/notifications/fanout.rb
 
Instance Attribute Summary collapse
- 
  
    
      #exceptions  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute exceptions.
 
Instance Method Summary collapse
- 
  
    
      #initialize(exceptions)  ⇒ InstrumentationSubscriberError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of InstrumentationSubscriberError.
 
Constructor Details
#initialize(exceptions) ⇒ InstrumentationSubscriberError
Returns a new instance of InstrumentationSubscriberError.
      11 12 13 14 15  | 
    
      # File 'lib/active_support/notifications/fanout.rb', line 11 def initialize(exceptions) @exceptions = exceptions exception_class_names = exceptions.map { |e| e.class.name } super "Exception(s) occurred within instrumentation subscribers: #{exception_class_names.join(', ')}" end  | 
  
Instance Attribute Details
#exceptions ⇒ Object (readonly)
Returns the value of attribute exceptions.
      9 10 11  | 
    
      # File 'lib/active_support/notifications/fanout.rb', line 9 def exceptions @exceptions end  |