13 #include <system_error>
20 OutputConversionFailed = 3,
21 SourcelinkSelectionFailed = 4,
23 PropagationReachesMaxSteps = 6
31 const char*
name() const noexcept final {
32 return "CombinatorialKalmanFilterError";
36 switch (static_cast<CombinatorialKalmanFilterError>(
c)) {
37 case CombinatorialKalmanFilterError::UpdateFailed:
38 return "Kalman update failed";
39 case CombinatorialKalmanFilterError::SmoothFailed:
40 return "Kalman smooth failed";
41 case CombinatorialKalmanFilterError::OutputConversionFailed:
42 return "Kalman output conversion failed";
43 case CombinatorialKalmanFilterError::SourcelinkSelectionFailed:
44 return "Source link selection failed";
45 case CombinatorialKalmanFilterError::NoTracksFound:
46 return "No track is found";
47 case CombinatorialKalmanFilterError::PropagationReachesMaxSteps:
48 return "Propagation reaches max steps before track finding is "