Exception: Flame::Errors::RouteArgumentsOrderError
- Inherits:
-
StandardError
- Object
- StandardError
- Flame::Errors::RouteArgumentsOrderError
- Defined in:
- lib/flame/errors/route_arguments_order_error.rb
Overview
Error for Route initialization
Instance Method Summary collapse
-
#initialize(path, wrong_ordered_arguments) ⇒ RouteArgumentsOrderError
constructor
Create a new instance of error.
Constructor Details
#initialize(path, wrong_ordered_arguments) ⇒ RouteArgumentsOrderError
Create a new instance of error
11 12 13 14 15 |
# File 'lib/flame/errors/route_arguments_order_error.rb', line 11 def initialize(path, wrong_ordered_arguments) super(" Path '\#{path}' should have '\#{wrong_ordered_arguments.first}' argument before '\#{wrong_ordered_arguments.last}'\n MESSAGE\nend\n".chomp) |