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.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RateLimitError = exports.InternalServerError = exports.ServerError = void 0;
const base_1 = require("./base");
class ServerError extends base_1.RecallrAIError {
constructor(message, httpStatus) {
super(message, httpStatus);
this.name = "ServerError";
Object.setPrototypeOf(this, ServerError.prototype);
}
}
exports.ServerError = ServerError;
class InternalServerError extends ServerError {
constructor(message, httpStatus) {
super(message, httpStatus);
this.name = "InternalServerError";
Object.setPrototypeOf(this, InternalServerError.prototype);
}
}
exports.InternalServerError = InternalServerError;
class RateLimitError extends ServerError {
constructor(message, httpStatus) {
super(message, httpStatus);
this.name = "RateLimitError";
Object.setPrototypeOf(this, RateLimitError.prototype);
}
}
exports.RateLimitError = RateLimitError;