13 #include <system_error>
15 namespace ActsAlignment {
18 NoAlignmentDofOnTrack = 1,
19 AlignmentParametersUpdateFailure = 2,
28 const char*
name() const noexcept final {
return "AlignmentError"; }
31 switch (static_cast<AlignmentError>(
c)) {
32 case AlignmentError::NoAlignmentDofOnTrack:
33 return "No alignment parameters on the track";
34 case AlignmentError::AlignmentParametersUpdateFailure:
35 return "Update to alignment parameters failure";
36 case AlignmentError::ConvergeFailure:
37 return "The alignment is not converged";