method

error

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: Rails
error() public

Returns the ActiveSupport::ErrorReporter of the current Rails project, otherwise it returns nil if there is no project.

Rails.error.handle(IOError) do
  # ...
end
Rails.error.report(error)
Show source
Register or log in to add new notes.