Exception: VisibilizeGenerator::InvalidGeneratorError

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

Overview

Raised when the generator is not found for the given type

Instance Method Summary collapse

Constructor Details

#initialize(type, klass, column) ⇒ InvalidGeneratorError

Returns a new instance of InvalidGeneratorError.



9
10
11
# File 'lib/visibilize/generator.rb', line 9

def initialize(type, klass, column)
  super("Visibilize Error: No generator defined for type #{type}. (Asked for column #{column} of #{klass.name})")
end