Weaker exports were the primary driver behind Germany’s first quarterly economic contraction since 2015, data showed on Friday, and while economists called it an aberration, they cited clear signs that Europe’s largest economy was cooling.