Exception: ActionController::RoutingError

Inherits:
ActionControllerError show all
Defined in:
actionpack/lib/action_controller/metal/exceptions.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RoutingError.


27
28
29
30
# File 'actionpack/lib/action_controller/metal/exceptions.rb', line 27

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

Instance Attribute Details

#failuresObject (readonly)

Returns the value of attribute failures


26
27
28
# File 'actionpack/lib/action_controller/metal/exceptions.rb', line 26

def failures
  @failures
end