UNPKG

ai-utils.js

Version:

Build AI applications, chatbots, and agents with JavaScript and TypeScript.

18 lines (17 loc) 545 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NoSuchSchemaError = void 0; 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; } } exports.NoSuchSchemaError = NoSuchSchemaError;