UNPKG

eliza-core

Version:

A rendition of ELIZA program engine by Weizenbaum sharable for all javascript environments

10 lines (9 loc) 357 B
import * as tslib_1 from "tslib"; var InvalidStringException = (function (_super) { tslib_1.__extends(InvalidStringException, _super); function InvalidStringException(problemStr) { return _super.call(this, "Invalid String Given: " + problemStr) || this; } return InvalidStringException; }(Error)); export { InvalidStringException };