Exception: SpreadsheetArchitect::Exceptions::InvalidRangeValue

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/spreadsheet_architect/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(type, range) ⇒ InvalidRangeValue

Returns a new instance of InvalidRangeValue.



36
37
38
# File 'lib/spreadsheet_architect/exceptions.rb', line 36

def initialize(type, range)
  super("Invalid range `#{range}` passed. Some of the :#{type} specified are either an invalid value or are greater than the total number of #{type}")
end