1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
/// glassbench error type
#[derive(thiserror::Error, Debug)]
pub enum GlassBenchError {
    #[error("IO error: {0}")]
    IO(#[from] std::io::Error),
    #[error("iter already called")]
    IterAlreadyCalled,
    #[error("SQLite error: {0}")]
    SQLite(#[from] rusqlite::Error),
    #[error("User query not understood")]
    ClientError,
}