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.