method

actions

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionableError
actions(error) 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 20
    def self.actions(error) # :nodoc:
      case error
      when ActionableError, -> it { Class === it && it < ActionableError }
        error._actions
      else
        {}
      end
    end
Register or log in to add new notes.