1
2
3
4
5
6
7
8
9
10
11
12
13
use {serde::Serialize, std::fmt::Debug, thiserror::Error as ThisError};

#[derive(ThisError, Serialize, Debug, PartialEq)]
pub enum SelectError {
    #[error("table alias not found: {0}")]
    TableAliasNotFound(String),

    #[error("table alias for blend not found: {0}")]
    BlendTableAliasNotFound(String),

    #[error("unreachable!")]
    Unreachable,
}