Exception: SpreadsheetArchitect::Exceptions::InvalidRangeValue
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ArgumentError
- SpreadsheetArchitect::Exceptions::InvalidRangeValue
- Defined in:
- lib/spreadsheet_architect/exceptions.rb
Instance Method Summary collapse
-
#initialize(type, range) ⇒ InvalidRangeValue
constructor
A new instance of InvalidRangeValue.
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 |