W3cubDocs

/Ruby on Rails 7.0

module ActiveSupport::ActionableError

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.

© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.