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.
30 lines (29 loc) • 1.08 kB
TypeScript
import { RecallrAIError } from './base';
/**
* Base class for session-related exceptions.
*
* This exception is raised for errors related to session management
* in the RecallrAI API.
*/
export declare class SessionError extends RecallrAIError {
constructor(message?: string, code?: string, httpStatus?: number, details?: Record<string, any>);
}
/**
* Raised when a session is in an invalid state.
*
* This exception is typically raised when trying to perform an action
* on a session that is not in the expected state.
*/
export declare class InvalidSessionStateError extends SessionError {
constructor(message?: string, code?: string, httpStatus?: number, details?: Record<string, any>);
}
/**
* Raised when a session is not found.
*
* This exception is typically raised when trying to access or modify
* a session that doesn't exist.
*/
export declare class SessionNotFoundError extends SessionError {
sessionId?: string;
constructor(sessionId?: string, message?: string, code?: string, httpStatus?: number, details?: Record<string, any>);
}