use thiserror::Error;
#[derive(Error, Debug, PartialEq, Eq)]
pub enum PostprocessingError {
#[error("Error in slicing due to slice index beyond usize {0}")]
InvalidSliceIndex(i128),
#[error("Column not found: {0}")]
ColumnNotFound(String),
#[error(transparent)]
ExpressionEvaluationError(#[from] crate::base::database::ExpressionEvaluationError),
#[error(transparent)]
OwnedTableError(#[from] crate::base::database::OwnedTableError),
}
pub type PostprocessingResult<T> = core::result::Result<T, PostprocessingError>;