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.
29 lines (28 loc) • 1.09 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SessionNotFoundError = exports.InvalidSessionStateError = exports.SessionError = void 0;
const base_1 = require("./base");
class SessionError extends base_1.RecallrAIError {
constructor(message, httpStatus) {
super(message, httpStatus);
this.name = "SessionError";
Object.setPrototypeOf(this, SessionError.prototype);
}
}
exports.SessionError = SessionError;
class InvalidSessionStateError extends SessionError {
constructor(message, httpStatus) {
super(message, httpStatus);
this.name = "InvalidSessionStateError";
Object.setPrototypeOf(this, InvalidSessionStateError.prototype);
}
}
exports.InvalidSessionStateError = InvalidSessionStateError;
class SessionNotFoundError extends SessionError {
constructor(message, httpStatus) {
super(message, httpStatus);
this.name = "SessionNotFoundError";
Object.setPrototypeOf(this, SessionNotFoundError.prototype);
}
}
exports.SessionNotFoundError = SessionNotFoundError;