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>
15 lines
437 B
Text
15 lines
437 B
Text
import { Schema } from "./Schema";
|
|
import { StructureSchema } from "./StructureSchema";
|
|
export class ErrorSchema extends StructureSchema {
|
|
static symbol = Symbol.for("@smithy/err");
|
|
ctor;
|
|
symbol = ErrorSchema.symbol;
|
|
}
|
|
export const error = (namespace, name, traits, memberNames, memberList, ctor) => Schema.assign(new ErrorSchema(), {
|
|
name,
|
|
namespace,
|
|
traits,
|
|
memberNames,
|
|
memberList,
|
|
ctor: null,
|
|
});
|