Add error code to SyncException (or a specific Exception for refresh token expired)
SyncException, inside sync error handler, contains only a string message as public property. In order to identify a specific problem, e.g. refresh token expired, one would need to match a string. In order to avoid that, and make it more robust, it would be great to have a specific error code alongside the message, so one could check the error code and respond accordingly.
1
vote
![](https://secure.gravatar.com/avatar/c25d445d14253f53b1fffbdc6a990da6?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)