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.


24
25
26
# File 'lib/iso8601/errors.rb', line 24

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