Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-86

"Failed to login" does not help much.

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      Currently, realm-js errors do not give much of useful information.
      Failed-to-login should be: no such server, server not responding, no such database, wrong credentials, wrong db instance, protocol version not supported, whatever.
      The 10 most common errors must be recognized and relayed to UI.

      relay error codes and messages for:

      • [x] network errors
      • [x] auth errors
      • [ ] database errors
      • [ ] local errors

      Check two cases of each in RealmTasks and Realm Browser.
      Add unit tests for those cases.

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: