use iceberg_rust::error::Error as IcebergError;
use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[error(transparent)]
ParseError(#[from] url::ParseError),
#[error(transparent)]
SqlError(#[from] sqlx::Error),
}
impl From<Error> for IcebergError {
fn from(value: Error) -> Self {
IcebergError::External(Box::new(value))
}
}