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>
14 lines
No EOL
379 B
Text
14 lines
No EOL
379 B
Text
const symbolError = Symbol.for('NextjsError');
|
|
export function getErrorSource(error) {
|
|
return error[symbolError] || null;
|
|
}
|
|
export function decorateServerError(error, type) {
|
|
Object.defineProperty(error, symbolError, {
|
|
writable: false,
|
|
enumerable: false,
|
|
configurable: false,
|
|
value: type
|
|
});
|
|
}
|
|
|
|
//# sourceMappingURL=error-source.js.map |