gluesql_core/plan/
error.rs

1use {serde::Serialize, std::fmt::Debug, thiserror::Error as ThisError};
2
3#[derive(ThisError, Serialize, Debug, PartialEq, Eq)]
4pub enum PlanError {
5    /// Error that that omits when user projects common column name from multiple tables in `JOIN`
6    /// situation.
7    #[error("column reference {0} is ambiguous, please specify the table name")]
8    ColumnReferenceAmbiguous(String),
9
10    #[error("unreachable")]
11    Unreachable,
12}