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.

22 lines (21 loc) 683 B
/** * Base exception for all RecallrAI SDK errors. */ export declare class RecallrAIError extends Error { code?: string; httpStatus?: number; details?: Record<string, any>; /** * Initialize a RecallrAI error. * * @param message - A human-readable error message * @param code - An optional error code * @param httpStatus - The HTTP status code that triggered this error * @param details - Optional additional details about the error */ constructor(message: string, code?: string, httpStatus?: number, details?: Record<string, any>); /** * Return a string representation of the error. */ toString(): string; }