Class: RaiseTestException::ErrorsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- RaiseTestException::ErrorsController
- Defined in:
- app/controllers/raise_test_exception/errors_controller.rb
Instance Method Summary collapse
Instance Method Details
#error ⇒ Object
2 3 4 |
# File 'app/controllers/raise_test_exception/errors_controller.rb', line 2 def error raise RaiseTestException::Errors::TestException.new("Exception notification works...") end |