Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error code for "invalid email/password" #4581

Closed
jeanbaptistebeau opened this issue Mar 30, 2021 · 0 comments · Fixed by #4851
Closed

Add error code for "invalid email/password" #4581

jeanbaptistebeau opened this issue Mar 30, 2021 · 0 comments · Fixed by #4851
Assignees

Comments

@jeanbaptistebeau
Copy link

Error codes: https://github.com/realm/realm-core/blob/fd78e200dffe24a101ecdcacd691ace9607f63f5/src/realm/object-store/sync/generic_network_transport.hpp

The current error code for “invalid email/password” is -1 (unknown), which makes it indistinguishable from other errors. It would be nice to have a custom error code, to display the appropriate (localized) message to the user.

@sync-by-unito sync-by-unito bot assigned fealebenpae and unassigned jsflax Mar 30, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants