Exception: Flame::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::RouterError::ArgumentsError

Instance Method Details

#messageObject



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

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