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>
18 lines
361 B
Text
Executable file
18 lines
361 B
Text
Executable file
'use strict';
|
|
|
|
const internals = {};
|
|
|
|
|
|
module.exports = class AssertError extends Error {
|
|
|
|
name = 'AssertError';
|
|
|
|
constructor(message, ctor) {
|
|
|
|
super(message || 'Unknown error');
|
|
|
|
if (typeof Error.captureStackTrace === 'function') { // $lab:coverage:ignore$
|
|
Error.captureStackTrace(this, ctor);
|
|
}
|
|
}
|
|
};
|