pub enum AnalyticsError {
SolverDiverged {
step: usize,
},
InsufficientData {
needed: usize,
have: usize,
},
ModelNotLoaded {
name: String,
},
}Expand description
Analytics engine errors.
Variants§
SolverDiverged
The ODE/SDE solver diverged during integration.
InsufficientData
Not enough data points to perform the requested analysis.
ModelNotLoaded
The required model has not been loaded or trained.
Trait Implementations§
Source§impl Debug for AnalyticsError
impl Debug for AnalyticsError
Source§impl Display for AnalyticsError
impl Display for AnalyticsError
Source§impl Error for AnalyticsError
impl Error for AnalyticsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AnalyticsError> for CvxError
impl From<AnalyticsError> for CvxError
Source§fn from(source: AnalyticsError) -> Self
fn from(source: AnalyticsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnalyticsError
impl RefUnwindSafe for AnalyticsError
impl Send for AnalyticsError
impl Sync for AnalyticsError
impl Unpin for AnalyticsError
impl UnwindSafe for AnalyticsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more