Is there a list of all the error code number? Ideally we could rely on an enum to decide what message to display or if we want to attempt a retry, but there is a code number in the SDK’s error that could be the next best thing:
We could use that, but we can’t seem to be able to find a comprehensive list of all the errors with their codes, only this list of strings. Where can we find such a list?
(We’re using RevenueCat SDK 4.0.0 and Unity 2021.3.8)
Best answer by Cesar
Hi @Gabriel_Ulu , there’s currently not an enum with the corresponding errors, which we know is not ideal because it makes handling errors very complex. We have plans to add the enum you’re mentioning, it’s definitely in our backlog. We just recently added it to our Flutter SDK, and we have to add it to the other SDKs, like the Unity one.
Hi @Gabriel_Ulu , there’s currently not an enum with the corresponding errors, which we know is not ideal because it makes handling errors very complex. We have plans to add the enum you’re mentioning, it’s definitely in our backlog. We just recently added it to our Flutter SDK, and we have to add it to the other SDKs, like the Unity one.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.