Exception: ActionController::RoutingError

Inherits:
ActionControllerError show all
Defined in:
lib/action_controller/base.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, failures = []) ⇒ RoutingError

Returns a new instance of RoutingError.



15
16
17
18
# File 'lib/action_controller/base.rb', line 15

def initialize(message, failures=[])
  super(message)
  @failures = failures
end

Instance Attribute Details

#failuresObject (readonly)

Returns the value of attribute failures.



14
15
16
# File 'lib/action_controller/base.rb', line 14

def failures
  @failures
end