Exception: Flame::Errors::RouterError::ExtraPathArgumentsError
- Inherits:
-
ArgumentsError
- Object
- StandardError
- ArgumentsError
- Flame::Errors::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::Errors::RouterError::ArgumentsError
Instance Method Details
#message ⇒ Object
40 41 42 43 44 |
# File 'lib/flame/errors.rb', line 40 def "Method '#{@action}' from controller '#{@ctrl}'" \ " does not know arguments '#{@extra_args.join(', ')}'" \ " from path '#{@path}'" end |