Enum refinery::error::Kind [−][src]
pub enum Kind { InvalidName, InvalidVersion, RepeatedVersion(Migration), DivergentVersion(Migration, Migration), MissingVersion(Migration), InvalidMigrationPath(PathBuf, Error), ConfigError(String), Connection(String, Box<dyn Error + Send + Sync + 'static, Global>), }
Expand description
Enum listing possible errors from Refinery.
Variants
An Error from an invalid file name migration
An Error from an invalid version on a file name migration
RepeatedVersion(Migration)
An Error from a repeated version, migration version numbers must be unique
An Error from an divergent version, the applied version is different to the filesystem one
MissingVersion(Migration)
An Error from an divergent version, the applied version is missing on the filesystem
An Error from an invalid migrations path location
ConfigError(String)
An Error from an underlying database connection Error
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Kind
impl !UnwindSafe for Kind