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.
31 lines (30 loc) • 1.05 kB
TypeScript
import { RecallrAIError } from './base';
/**
* Base class for user-related exceptions.
*
* This exception is raised for errors related to user management
* in the RecallrAI API.
*/
export declare class UserError extends RecallrAIError {
constructor(message?: string, code?: string, httpStatus?: number, details?: Record<string, any>);
}
/**
* Raised when a user is not found.
*
* This exception is typically raised when trying to access or modify
* a user that doesn't exist.
*/
export declare class UserNotFoundError extends UserError {
userId?: string;
constructor(userId?: string, message?: string, code?: string, httpStatus?: number, details?: Record<string, any>);
}
/**
* Raised when a user already exists.
*
* This exception is typically raised when trying to create a user
* that already exists in the system.
*/
export declare class UserAlreadyExistsError extends UserError {
userId?: string;
constructor(userId?: string, message?: string, code?: string, httpStatus?: number, details?: Record<string, any>);
}