Exception: ISO8601::Errors::RangeError
- Inherits:
-
StandardError
- Object
- StandardError
- StandardError
- ISO8601::Errors::RangeError
- Defined in:
- lib/iso8601/errors.rb
Overview
Raised when the given date is valid but out of range.
Instance Method Summary collapse
-
#initialize(pattern) ⇒ RangeError
constructor
A new instance of RangeError.
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 |