Rocky_Mountain_Vending/.pnpm-store/v10/files/87/4012224f89732a9d4b727a9f5f5391f9638b56e98baafe7c3e3f3ac3a076fb6ff9df205db691848ece8f68132d21aa2cf86194ba6f83817223cfbfb1694f10
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

21 lines
No EOL
1 KiB
Text

import { cyan } from '../../../lib/picocolors';
import path from 'path';
const ErrorLoader = function() {
var _this__module_issuer, _this__module, _this__compiler;
// @ts-ignore exists
const options = this.getOptions() || {};
const { reason = 'An unknown error has occurred' } = options;
// @ts-expect-error
const resource = ((_this__module = this._module) == null ? void 0 : (_this__module_issuer = _this__module.issuer) == null ? void 0 : _this__module_issuer.resource) ?? null;
const context = this.rootContext ?? ((_this__compiler = this._compiler) == null ? void 0 : _this__compiler.context);
const issuer = resource ? context ? path.relative(context, resource) : resource : null;
const err = Object.defineProperty(new Error(reason + (issuer ? `\nLocation: ${cyan(issuer)}` : '')), "__NEXT_ERROR_CODE", {
value: "E339",
enumerable: false,
configurable: true
});
this.emitError(err);
};
export default ErrorLoader;
//# sourceMappingURL=error-loader.js.map