method

dispatch

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionableError
dispatch(error, name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/actionable_error.rb, line 29
    def self.dispatch(error, name) # :nodoc:
      actions(error).fetch(name).call
    rescue KeyError
      raise NonActionable, "Cannot find action \"#{name}\""
    end
Register or log in to add new notes.