// Import the thiserror crate which provides macros for easier error handling in Rust
use Error;
/// CsvSliceError is the main error type for the csv-slice library.
///
/// This enum represents all possible errors that can occur when working with the csv-slice library.
/// It uses the thiserror crate to automatically implement the Error trait and provide
/// formatted error messages.
///
/// # Error Types
/// - `Csv`: Represents errors from the csv crate when parsing or processing CSV files
/// - `Io`: Represents standard I/O errors that may occur when reading files
/// - `ColumnNotFound`: A custom error that occurs when a requested column name doesn't exist in the CSV