use error_set::error_set;
error_set! {
MigrationsError = {
CannotLoadFile,
FileNumbering,
FileNameMalformed,
MigrationFileDbMismatch,
MigrationFileInDbNotLongerExists,
InfoForDbTablesNotAnObject,
InfoForDbDoesNotContainTables,
InfoForDbNotAnObject,
InfoForDbHasNoData,
Surrealdb(surrealdb::Error),
};
}