/** * Base exception class for MongoDB adapter */ export declare class Exception extends Error { static status: number; cause?: Error; constructor(message: string, options?: { cause?: Error; }); } /** * Exception raised when unable to connect to the MongoDB server */ export declare class ConnectionRefusedException extends Exception { static status: number; constructor(message: string, options?: { cause?: Error; }); } /** * Exception raised when unable to find a registered connection */ export declare class ConnectionNotFoundException extends Exception { static status: number; constructor(message: string, options?: { cause?: Error; }); } /** * Exception raised when a model doesn't have a primary key defined */ export declare class ModelPrimaryKeyMissingException extends Exception { static status: number; constructor(message: string, options?: { cause?: Error; }); } /** * Exception raised when a model operation fails */ export declare class ModelQueryException extends Exception { static status: number; constructor(message: string, options?: { cause?: Error; }); } /** * Exception raised when a relationship is not properly defined */ export declare class InvalidRelationException extends Exception { static status: number; constructor(message: string, options?: { cause?: Error; }); } /** * Exception raised when a MongoDB operation fails */ export declare class MongoDBException extends Exception { static status: number; constructor(message: string, options?: { cause?: Error; }); }