"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
class ErrorWithLocation extends Error {
  constructor(node, message) {
    super(node ? `${message} at ${node.range.start.line}:${node.range.start.character}` : message);
  }
}
function assertUnreachable(_) {
  throw new Error("Error! The input value was not handled.");
}
exports.ErrorWithLocation = ErrorWithLocation;
exports.assertUnreachable = assertUnreachable;
//# sourceMappingURL=lib-utils-errors.cjs.map
