Here are some failure points.
- Network error
- A race condition currently happens in my app where a logout runs while a login is in-flight
- If SDK is stuck in failed registration and I try to log in a user
- Generic error
Generic errors are errors that might have different reasons that I don't know about yet.
All of these give me "[HTTP - 1] Something went wrong" on android and "Error in <METHOD_NAME>" on iOS
This is problematic since I can't segregate the errors and I can't find out why each one happens except for checking each user session and find out why this was thrown manually.
I would rather having error codes for different failures, and the failures I mean here are not the ones I said only, the engineers will know best what are all the failure points and create an error code for each.