sqlx_migrate_validate/
error.rs

1use sqlx::migrate::MigrateError;
2
3#[derive(Debug, thiserror::Error)]
4#[non_exhaustive]
5pub enum ValidateError {
6    #[error("migration {0} was not applied")]
7    VersionNotApplied(i64),
8
9    #[error(transparent)]
10    MigrateError(#[from] MigrateError),
11}