method

report

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ErrorReporter
report(error, handled: true, severity: handled ? :warning : :error, context: {}, source: DEFAULT_SOURCE) public

Report an error directly to subscribers. You can use this method when the block-based #handle and #record methods are not suitable.

Rails.error.report(error)
Show source
Register or log in to add new notes.