Enum diesel::migration::MigrationError [−][src]
pub enum MigrationError {
MigrationDirectoryNotFound,
UnknownMigrationFormat(PathBuf),
IoError(Error),
UnknownMigrationVersion(String),
NoMigrationRun,
// some variants omitted
}
Expand description
Errors that occur while preparing to run migrations
Variants
The migration directory wasn’t found
UnknownMigrationFormat(PathBuf)
Provided migration was in an unknown format
Tuple Fields of UnknownMigrationFormat
0: PathBuf
IoError(Error)
General system IO error
Tuple Fields of IoError
0: Error
UnknownMigrationVersion(String)
Provided migration had an incompatible version number
Tuple Fields of UnknownMigrationVersion
0: String
No migrations had to be/ could be run
Trait Implementations
Performs the conversion.