#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
pub enum Error {
#[error(transparent)]
SqlxError(#[from] sqlx::error::Error),
#[error("Failed to create migrations plan")]
FailedToCreateMigrationPlan,
#[error("Operation is irreversible")]
IrreversibleOperation,
#[error("Pending migration present")]
PendingMigrationPresent,
#[error("App name required. Only migration name present")]
AppNameRequired,
}