Exception: Yoker::GeneratorError
- Defined in:
- lib/yoker/errors.rb
Overview
Raised when generator fails
Instance Method Summary collapse
-
#initialize(generator_name, reason) ⇒ GeneratorError
constructor
A new instance of GeneratorError.
Constructor Details
#initialize(generator_name, reason) ⇒ GeneratorError
Returns a new instance of GeneratorError.
97 98 99 |
# File 'lib/yoker/errors.rb', line 97 def initialize(generator_name, reason) super("Generator '#{generator_name}' failed: #{reason}") end |