ActiveSupport::ActionableError

Actionable Errors Actionable errors lets you define actions to resolve an error.