class ActiveSupport::ErrorReporter::TestHelper::ErrorSubscriber
Attributes
events[R]
Public Class Methods
new()
click to toggle source
# File lib/active_support/error_reporter/test_helper.rb, line 7 def initialize @events = [] end
Public Instance Methods
report(error, handled:, severity:, source:, context:)
click to toggle source
# File lib/active_support/error_reporter/test_helper.rb, line 11 def report(error, handled:, severity:, source:, context:) @events << [error, handled, severity, source, context] end