Exception: ISO8601::Errors::RangeError

Inherits:
StandardError
  • Object
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.



17
18
19
# File 'lib/iso8601/errors.rb', line 17

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