    case ErrorCode::InadequateSecurity:
      return "InadequateSecurity";
    case ErrorCode::Http11Required:
      return "Http11Required";
    default: {
      return fmt::format("ERROR_CODE_{}", static_cast<unsigned>(ec));
    }
  }