Exception: Flame::RouterError::ExtraPathArgumentsError
- Inherits:
-
ArgumentsError
- Object
- StandardError
- ArgumentsError
- Flame::RouterError::ExtraPathArgumentsError
- Defined in:
- lib/flame/errors.rb
Overview
Error if path has more arguments, than controller’s method
Instance Method Summary collapse
Methods inherited from ArgumentsError
Constructor Details
This class inherits a constructor from Flame::RouterError::ArgumentsError
Instance Method Details
#message ⇒ Object
39 40 41 42 43 |
# File 'lib/flame/errors.rb', line 39 def "Method '#{@action}' from controller '#{@ctrl}'" \ " does not know arguments '#{@extra_args.join(', ')}'" \ " from path '#{@path}'" end |