Aha, interesting. As I'm trying to figure out in which "band" (day, civil twilight, nautical twilight, ...) the sun is, I can most likely figure it out by checking out where exceptions are raised and where not. However, throwing a correct message (or even different exceptions, all inheriting from the same base exception for backwards compatibility) would be easier.
Aha, interesting. As I'm trying to figure out in which "band" (day, civil twilight, nautical twilight, ...) the sun is, I can most likely figure it out by checking out where exceptions are raised and where not. However, throwing a correct message (or even different exceptions, all inheriting from the same base exception for backwards compatibility) would be easier.