When a GraphQL request receives a 5xx server error (e.g. 502 Bad Gateway),
the ApolloError has no graphQLErrors but only a networkError with a statusCode.
Previously, these transient infrastructure errors fell through to the generic
error handler, which showed a vague "An error occurred" message and reported
the error to Sentry unnecessarily.
Now, ApolloErrors with 5xx networkError status codes are:
- Shown to the user with a specific "server temporarily unavailable" message
- Deduplicated via a snack bar dedupeKey to avoid flooding the UI
- Not reported to Sentry, since they are transient infrastructure issues
Fixes https://sentry.io/issues/6763156229/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>