Exception: Horologium::OutOfDataRangeError

Inherits:
Error
  • Object
show all
Defined in:
lib/horologium/error.rb,
sig/horologium.rbs

Overview

Raised when a conversion would rest on data past the point its source vouches for, and the caller has asked for strict handling rather than an extrapolation. A leap second read for a date beyond the table's expiry is the case: the offset is the last known one, correct until a new leap second is announced, and strict mode refuses to lean on it.