Skip to content

The error description for ErrorCode.networkError is misleading #2598

Description

@ronyfadel

Describe the bug
ErrorCode.networkError.description returns "Error performing request.".

Because of the required effort to implement localized strings for the 37 RevenueCat errors at the moment, I'm simply relaying the error description as returned by RevenueCat.

Some of these errors occur often, especially:

  • offlineConnectionError: "Error performing request because the internet connection appears to be offline."
  • storeProblemError: "There was a problem with the App Store."
  • networkError: "Error performing request.".

Note that for networkError, a more sensible description would be "A network error has occurred", or "There was a problem with the network", or "Error performing request because there was a problem with the network."

When users see "Error performing request.", it doesn't offer enough info for them to fix the issue (e.g. move to another network).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions