Exception: Valr::NotValidRangeError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/valr/not_valid_range_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(range) ⇒ NotValidRangeError

Error raised when the specified range is not valid

Parameters:

  • range (String)

    Range asked



5
6
7
# File 'lib/valr/not_valid_range_error.rb', line 5

def initialize(range)
  super("'#{range}' is not a valid range")
end