Exception: Giter8::PropertyNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/giter8/error.rb

Overview

PropertyNotFoundError indicates that a template referenced a variable not defined by the property pairs provided to the renderer.

Instance Method Summary collapse

Constructor Details

#initialize(prop_name, source, line, column) ⇒ PropertyNotFoundError

Returns a new instance of PropertyNotFoundError.



9
10
11
# File 'lib/giter8/error.rb', line 9

def initialize(prop_name, source, line, column)
  super("Property `#{prop_name}' is not defined at #{source}:#{line}:#{column}")
end