/** * RDI Config Error * * Error thrown when client configuration is invalid. * * @packageDocumentation */ /** * Error thrown when client configuration is invalid. * * @example * ```typescript * try { * const client = await RdiClientFactory.create({ baseUrl: '' }); * } catch (error) { * if (error instanceof RdiConfigError) { * console.error(`Configuration error: ${error.message}`); * } * } * ``` */ export declare class RdiConfigError extends Error { /** Error name for instanceof checks */ readonly name = "RdiConfigError"; /** Machine-readable error code */ readonly code: string; /** * Creates a new RdiConfigError. * * @param message - Human-readable error message * @param code - Machine-readable error code (e.g., 'INVALID_URL', 'MISSING_REQUIRED') */ constructor(message: string, code: string); }