proof_of_sql/base/database/
error.rs

1use alloc::string::String;
2use snafu::Snafu;
3
4/// Errors encountered during the parsing process
5#[derive(Debug, Snafu, Eq, PartialEq)]
6pub enum ParseError {
7    #[snafu(display("Invalid table reference: {}", table_reference))]
8    /// Cannot parse the `TableRef`
9    InvalidTableReference {
10        /// The underlying error
11        table_reference: String,
12    },
13}