Exception: ActionController::RoutingError

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

Overview

:nodoc:

Direct Known Subclasses

UrlGenerationError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RoutingError.



22
23
24
25
# File 'lib/action_controller/metal/exceptions.rb', line 22

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

Instance Attribute Details

#failuresObject (readonly)

Returns the value of attribute failures.



21
22
23
# File 'lib/action_controller/metal/exceptions.rb', line 21

def failures
  @failures
end