feat: makes smartcore::error:FailedError non-exhaustive
This commit is contained in:
@@ -12,6 +12,7 @@ pub struct Failed {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Type of error
|
/// Type of error
|
||||||
|
#[non_exhaustive]
|
||||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||||
pub enum FailedError {
|
pub enum FailedError {
|
||||||
/// Can't fit algorithm to data
|
/// Can't fit algorithm to data
|
||||||
|
|||||||
Reference in New Issue
Block a user