Exception: Thinreports::BasicReport::Errors::IncompatibleLayoutFormat

Inherits:
Basic
  • Object
show all
Defined in:
lib/thinreports/basic_report/core/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(filename, fileversion, required_rules) ⇒ IncompatibleLayoutFormat

Returns a new instance of IncompatibleLayoutFormat.



53
54
55
56
57
58
# File 'lib/thinreports/basic_report/core/errors.rb', line 53

def initialize(filename, fileversion, required_rules)
  super("Generator #{Thinreports::VERSION} can not be built this file, " \
        "'#{File.basename(filename)}'. " \
        "This file is updated in the Editor of version '#{fileversion}', " \
        "but Generator requires version #{required_rules}.")
end