Skip to content

Change default connection failure message #1469

Closed
@dblythy

Description

@dblythy

New Feature / Enhancement Checklist

Current Limitation

If Parse JS SDK is unable to connect to the server, the error thrown is 'XMLHttpRequest failed: "Unable to connect to the Parse API" which is rather confusing for client users.

Feature / Enhancement Description

It would be good to change the default error message to something more helpful such as Could not connect to the server which non-technical users could understand. Or, allow JS SDK to specify custom error messages via something like Parse.customError.101

Example Use Case

n/a

Alternatives / Workarounds

n/a

3rd Party References

related

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions