Method: ActiveSupport::Notifications::InstrumentationSubscriberError#initialize
- Defined in:
- activesupport/lib/active_support/notifications/fanout.rb
#initialize(exceptions) ⇒ InstrumentationSubscriberError
Returns a new instance of InstrumentationSubscriberError.
12 13 14 15 16 |
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 12 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 |