Exception: Flame::Errors::RouterError::ExtraActionArgumentsError

Inherits:
ArgumentsError
  • Object
show all
Defined in:
lib/flame/errors.rb

Overview

Error if path has no arguments, that controller’s method required

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



49
50
51
52
53
# File 'lib/flame/errors.rb', line 49

def message
	"Path '#{@path}' does not contain required arguments" \
	" '#{@extra_args.join(', ')}' of method '#{@action}'" \
	" from controller '#{@ctrl}'"
end