15 class GlobalChiSquareFitterErrorCategory :
public std::error_category {
18 const char*
name() const noexcept final {
19 return "GlobalChiSquareFitterError";
26 switch (static_cast<GlobalChiSquareFitterError>(
c)) {
27 case GlobalChiSquareFitterError::DetAIsZero:
28 return "Gx2f has det(a) == 0 during update.";
39 static GlobalChiSquareFitterErrorCategory
c;
40 return {
static_cast<int>(
e), c};