UNPKG

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) 992 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConnectionError = exports.TimeoutError = exports.NetworkError = void 0; const base_1 = require("./base"); class NetworkError extends base_1.RecallrAIError { constructor(message, httpStatus) { super(message, httpStatus); this.name = "NetworkError"; Object.setPrototypeOf(this, NetworkError.prototype); } } exports.NetworkError = NetworkError; class TimeoutError extends NetworkError { constructor(message, httpStatus) { super(message, httpStatus); this.name = "TimeoutError"; Object.setPrototypeOf(this, TimeoutError.prototype); } } exports.TimeoutError = TimeoutError; class ConnectionError extends NetworkError { constructor(message, httpStatus) { super(message, httpStatus); this.name = "ConnectionError"; Object.setPrototypeOf(this, ConnectionError.prototype); } } exports.ConnectionError = ConnectionError;