(value: QuantizationError)
| 326 | |
| 327 | impl From<QuantizationError> for WaCustomError { |
| 328 | fn from(value: QuantizationError) -> Self { |
| 329 | match value { |
| 330 | QuantizationError::InvalidInput(_) => WaCustomError::InvalidParams, |
| 331 | QuantizationError::TrainingFailed => WaCustomError::TrainingFailed, |
| 332 | QuantizationError::Untrained => WaCustomError::Untrained, |
| 333 | } |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | impl From<DistanceError> for WaCustomError { |
nothing calls this directly
no outgoing calls
no test coverage detected