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.01 kB
TypeScript
import { RecallrAIError } from './base';
/**
* Base class for network-related exceptions.
*
* This exception is raised for errors related to network connectivity
* and communication with the RecallrAI API.
*/
export declare class NetworkError extends RecallrAIError {
constructor(message?: string, code?: string, httpStatus?: number, details?: Record<string, any>);
}
/**
* Raised when a request times out.
*
* This exception is raised when a request to the RecallrAI API
* takes longer than the configured timeout.
*/
export declare class TimeoutError extends NetworkError {
constructor(message?: string, code?: string, details?: Record<string, any>);
}
/**
* Raised when a connection error occurs.
*
* This exception is raised when there's an issue connecting to
* the RecallrAI API, such as DNS resolution issues or network unavailability.
*/
export declare class ConnectionError extends NetworkError {
constructor(message?: string, code?: string, details?: Record<string, any>);
}