diff --git a/src/core/src/errors.rs b/src/core/src/errors.rs index 870d846f4..307854409 100644 --- a/src/core/src/errors.rs +++ b/src/core/src/errors.rs @@ -164,11 +164,9 @@ impl SourmashErrorCode { match error { SourmashError::Internal { .. } => SourmashErrorCode::Internal, SourmashError::Panic { .. } => SourmashErrorCode::Panic, - SourmashError::CannotUpsampleScaled { .. } => SourmashErrorCode::CannotUpsampleScaled, + SourmashError::CannotUpsampleScaled => SourmashErrorCode::CannotUpsampleScaled, SourmashError::MismatchNum { .. } => SourmashErrorCode::MismatchNum, - SourmashError::NeedsAbundanceTracking { .. } => { - SourmashErrorCode::NeedsAbundanceTracking - } + SourmashError::NeedsAbundanceTracking => SourmashErrorCode::NeedsAbundanceTracking, SourmashError::MismatchKSizes => SourmashErrorCode::MismatchKSizes, SourmashError::MismatchDNAProt => SourmashErrorCode::MismatchDNAProt, SourmashError::MismatchScaled => SourmashErrorCode::MismatchScaled, @@ -187,7 +185,7 @@ impl SourmashErrorCode { SourmashError::InvalidTranslateFrame { .. } => SourmashErrorCode::InvalidTranslateFrame, SourmashError::ReadDataError { .. } => SourmashErrorCode::ReadData, SourmashError::StorageError { .. } => SourmashErrorCode::Storage, - SourmashError::HLLPrecisionBounds { .. } => SourmashErrorCode::HLLPrecisionBounds, + SourmashError::HLLPrecisionBounds => SourmashErrorCode::HLLPrecisionBounds, SourmashError::ANIEstimationError { .. } => SourmashErrorCode::ANIEstimationError, SourmashError::SerdeError { .. } => SourmashErrorCode::SerdeError, SourmashError::IOError { .. } => SourmashErrorCode::Io,