//#region ../../node_modules/langium/lib/utils/errors.js
var e = class extends Error {
	constructor(e, t) {
		super(e ? `${t} at ${e.range.start.line}:${e.range.start.character}` : t);
	}
};
function t(e, t = "Error: Got unexpected value.") {
	throw Error(t);
}
//#endregion
export { e as ErrorWithLocation, t as assertUnreachable };
