Chenloong999's picture
backup 2026-05-20T03:27:17.780508
31e8457 verified
Raw History Blame Contribute Delete
249 Bytes
import { formatPath } from "../Formatter.js";
/** @internal */
export function errorWithPath(message, path) {
if (path.length > 0) {
message += `\n at ${formatPath(path)}`;
}
return new Error(message);
}
//# sourceMappingURL=errors.js.map