recallrai
Version:
Official Node.js SDK for RecallrAI - Revolutionary contextual memory system that enables AI assistants to form meaningful connections between conversations, just like human memory.
16 lines (15 loc) • 489 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RecallrAIError = void 0;
class RecallrAIError extends Error {
constructor(message, httpStatus) {
super(message);
this.name = "RecallrAIError";
this.httpStatus = httpStatus;
Object.setPrototypeOf(this, RecallrAIError.prototype);
}
toString() {
return `${this.message}. HTTP Status: ${this.httpStatus}.`;
}
}
exports.RecallrAIError = RecallrAIError;