class method self.new

Ruby on Rails 8.0.4

Since v7.0.10

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

self.new(exceptions)

No documentation comment.

Parameters

exceptions req
Source
# File activesupport/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

Defined in activesupport/lib/active_support/notifications/fanout.rb line 11 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Notifications::InstrumentationSubscriberError

Type at least 2 characters to search.

↑↓ navigate · open · esc close