class

Kozai::Error

Inherits Exception < Reference < Object

Base class for every error raised by kozai.

Rescuing Kozai::Error catches all of them and nothing else, so a host application can tell "the satellite library failed" apart from "the runtime failed" without resorting to a bare rescue.

NOTE: propagation failures are deliberately not exceptions. SGP4 runs in a hot loop that must not allocate, and raising allocates. Propagation reports failure through SGP4::ErrorCode in its return value instead. See src/sgp4.cr.