/** * CsvSuperError — Base error class for all csv-super errors. * * Extend this class for specific error types. * Consumers can catch all csv-super errors with: * * ```typescript * import { CsvSuperError } from 'csv-super'; * * try { * for await (const batch of csvSuper('data.csv')) { ... } * } catch (err) { * if (err instanceof CsvSuperError) { * console.error('csv-super error:', err.message); * } * } * ``` */ export declare class CsvSuperError extends Error { /** * Error code for programmatic handling. * Follows the pattern: 'CSV_SUPER_' */ readonly code: string; /** ISO 8601 timestamp of when the error occurred. */ readonly timestamp: string; constructor(message: string, code?: string); } //# sourceMappingURL=CsvSuperError.d.ts.map