use thiserror::Error;

#[derive(Debug, Error)]
pub enum DatabaseError {
    #[error("sql error: {0}")]
    Sql(#[from] rusqlite::Error),
    #[error("io error: {0}")]
    Io(#[from] std::io::Error),
    #[error("migration error: {0}")]
    Migration(String),
    #[error("merge error: {0}")]
    Merge(String),
}
