module
ActiveSupport::ActionableError
v7.2.3 -
Show latest stable
Actionable Errors
Actionable errors lets you define actions to resolve an error.
To make an error actionable, include the +ActiveSupport::ActionableError+ module and invoke the action class macro to define the action. An action needs a name and a block to execute.
Files
- activesupport/lib/active_support/actionable_error.rb