class method
self.new
Ruby on Rails 7.1.6
Since v7.0.10Signature
self.new(exceptions)
No documentation comment.
Parameters
-
exceptionsreq
Source
# File activesupport/lib/active_support/notifications/fanout.rb, line 13
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
Defined in activesupport/lib/active_support/notifications/fanout.rb line 13
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::InstrumentationSubscriberError