Exception: Flame::Errors::RouterError::ExtraPathArgumentsError

Inherits:
ArgumentsError
  • Object
show all
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

#initialize

Constructor Details

This class inherits a constructor from Flame::Errors::RouterError::ArgumentsError

Instance Method Details

#messageObject



40
41
42
43
44
# File 'lib/flame/errors.rb', line 40

def message
	"Method '#{@action}' from controller '#{@ctrl}'" \
	" does not know arguments '#{@extra_args.join(', ')}'" \
	" from path '#{@path}'"
end