Exception: ActionController::RoutingError
- Inherits:
-
ActionControllerError
- Object
- StandardError
- ActionControllerError
- ActionController::RoutingError
- Defined in:
- lib/action_controller/metal/exceptions.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#failures ⇒ Object
readonly
Returns the value of attribute failures.
Instance Method Summary collapse
-
#initialize(message, failures = []) ⇒ RoutingError
constructor
A new instance of RoutingError.
Constructor Details
#initialize(message, failures = []) ⇒ RoutingError
Returns a new instance of RoutingError.
19 20 21 22 |
# File 'lib/action_controller/metal/exceptions.rb', line 19 def initialize(, failures = []) super() @failures = failures end |
Instance Attribute Details
#failures ⇒ Object (readonly)
Returns the value of attribute failures.
18 19 20 |
# File 'lib/action_controller/metal/exceptions.rb', line 18 def failures @failures end |