ai-utils.js
Version:
Build AI applications, chatbots, and agents with JavaScript and TypeScript.
14 lines (13 loc) • 392 B
JavaScript
export class NoSuchSchemaError extends Error {
constructor(schemaName) {
super(`No such schema: ${schemaName}`);
Object.defineProperty(this, "schemaName", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
this.name = "NoSuchSchemaError";
this.schemaName = schemaName;
}
}