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

Instance Method Details

#messageObject



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

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