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