Exception: Yoker::GeneratorError

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

Overview

Raised when generator fails

Instance Method Summary collapse

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