Exception: Mack::Errors::RequiredGeneratorParameterMissing

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

Overview

Raised if a Mack::Generator::Base required parameter is not supplied.

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ RequiredGeneratorParameterMissing

Takes the name of the missing parameter.



81
82
83
# File 'lib/errors/errors.rb', line 81

def initialize(name)
  super("The required parameter '#{name.to_s.upcase}' is missing for this generator!")
end