
//#region ../../node_modules/.pnpm/luxon@3.5.0/node_modules/luxon/src/impl/invalid.js
var Invalid = class {
	constructor(reason, explanation) {
		this.reason = reason;
		this.explanation = explanation;
	}
	toMessage() {
		if (this.explanation) return `${this.reason}: ${this.explanation}`;
		else return this.reason;
	}
};

//#endregion
exports.default = Invalid;