hive_router_plan_executor/execution/
error.rs

1use crate::projection::error::ProjectionError;
2
3#[derive(thiserror::Error, Debug, Clone)]
4pub enum PlanExecutionError {
5    #[error("Projection faiure: {0}")]
6    ProjectionFailure(ProjectionError),
7}
8
9impl From<ProjectionError> for PlanExecutionError {
10    fn from(error: ProjectionError) -> Self {
11        PlanExecutionError::ProjectionFailure(error)
12    }
13}