@sffjunkie/astral
Version:
calculations for the position of the sun and the moon
40 lines (39 loc) • 1.38 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var KeyError = /** @class */ (function (_super) {
__extends(KeyError, _super);
function KeyError(message) {
return _super.call(this, message) || this;
}
return KeyError;
}(Error));
exports.KeyError = KeyError;
var ValueError = /** @class */ (function (_super) {
__extends(ValueError, _super);
function ValueError(message) {
return _super.call(this, message) || this;
}
return ValueError;
}(Error));
exports.ValueError = ValueError;
var MathError = /** @class */ (function (_super) {
__extends(MathError, _super);
function MathError(message) {
return _super.call(this, message) || this;
}
return MathError;
}(Error));
exports.MathError = MathError;