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

Set missing SyncError codes to Unknown #1041

Closed
sync-by-unito bot opened this issue Nov 18, 2022 · 0 comments · Fixed by #1052
Closed

Set missing SyncError codes to Unknown #1041

sync-by-unito bot opened this issue Nov 18, 2022 · 0 comments · Fixed by #1052
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Nov 18, 2022

Instead of throwing an Exception when the Error Category is known but the error code is unknown it is better to set the code to Unknown.

throw RealmError("Unknown GeneralSyncErrorCode");

throw RealmError("Unknown SyncConnectionErrorCode");

Check also all the other error enums.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant