15 class CombinatorialKalmanFilterErrorCategory :
public std::error_category {
18 const char*
name() const noexcept final {
19 return "CombinatorialKalmanFilterError";
26 switch (static_cast<CombinatorialKalmanFilterError>(
c)) {
27 case CombinatorialKalmanFilterError::UpdateFailed:
28 return "Kalman update failed";
29 case CombinatorialKalmanFilterError::SmoothFailed:
30 return "Kalman smooth failed";
31 case CombinatorialKalmanFilterError::OutputConversionFailed:
32 return "Kalman output conversion failed";
33 case CombinatorialKalmanFilterError::MeasurementSelectionFailed:
34 return "Measurement selection failed";
35 case CombinatorialKalmanFilterError::PropagationReachesMaxSteps:
36 return "Propagation reaches max steps before track finding is "
47 static CombinatorialKalmanFilterErrorCategory
c;
48 return {
static_cast<int>(
e), c};