Rocky_Mountain_Vending/.pnpm-store/v10/files/a4/5771210ca40e3667b747c274a3838d65658ade50af4bdc157fa16d065a3bb18a40c3cda1f907ff44d08383751b220b1b7f5a389bd841910b9feccdbb5314bf-exec
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

30 lines
589 B
Text
Executable file

'use strict';
const AssertError = require('./assertError');
const Stringify = require('./stringify');
const internals = {};
const assert = module.exports = function (condition, ...args) {
if (condition) {
return;
}
if (args.length === 1 &&
args[0] instanceof Error) {
throw args[0];
}
const msgs = args
.filter((arg) => arg !== '')
.map((arg) => {
return typeof arg === 'string' ? arg : arg instanceof Error ? arg.message : Stringify(arg);
});
throw new AssertError(msgs.join(' '), assert);
};