Exception: ISO8601::Errors::RangeError

Inherits:
StandardError show all
Defined in:
lib/iso8601/errors.rb

Overview

Raised when the given date is valid but out of range.

Instance Method Summary collapse

Constructor Details

#initialize(pattern) ⇒ RangeError

Returns a new instance of RangeError.



31
32
33
# File 'lib/iso8601/errors.rb', line 31

def initialize(pattern)
  super("#{pattern} is out of range")
end