Type Alias RatchetFileError
Source pub type RatchetFileError = StateFileError;
pub enum RatchetFileError {
OutsideRepository {
file: RepoStateFile,
path: String,
},
BrokenSymlink {
file: RepoStateFile,
path: String,
},
Unreadable {
file: RepoStateFile,
path: String,
source: Error,
},
InvalidJson {
file: RepoStateFile,
path: String,
source: Error,
},
UnsupportedSchemaVersion {
file: RepoStateFile,
path: String,
found: u32,
expected: u32,
},
InvalidCeiling {
file: RepoStateFile,
path: String,
metric: String,
ceiling: f64,
},
InvalidMetricVersion {
file: RepoStateFile,
path: String,
metric: String,
},
UnknownDependencyMetric {
file: RepoStateFile,
path: String,
metric: String,
allowed: String,
},
Write {
file: RepoStateFile,
path: PathBuf,
source: Error,
},
}