pub type ProfileError = ProfileRegistryError;Expand description
Compatibility name retained for existing qs_backtest::profile callers.
Aliased Type§
pub enum ProfileError {
Io(Error),
Parse(Error),
DuplicateName(String),
TargetRatioMismatch {
profile: String,
targets: usize,
ratios: usize,
},
RatioSumExceeded {
profile: String,
sum: f64,
},
RatioSumIncomplete {
profile: String,
sum: f64,
},
ZeroRatio {
profile: String,
},
ZeroTargetIndex {
profile: String,
},
DuplicateTargetIndex {
profile: String,
index: usize,
},
InvalidConfiguration {
profile: String,
reason: String,
},
NotFound(String),
}