UNPKG

weaviate-client

Version:
20 lines (19 loc) 465 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CommandBase = void 0; class CommandBase { constructor(client) { this.client = client; this._errors = []; } get errors() { return this._errors; } addError(error) { this._errors = [...this.errors, error]; } addErrors(errors) { this._errors = [...this.errors, ...errors]; } } exports.CommandBase = CommandBase;