This is an API change which simplifies the app logic for handling errors from refresh.
As it stands, only remotesession.revision.Refresh() ever returns NotFoundError, localsession.revision.Refresh() always returns a revisions.Closed value.
After this change, any error returned by Revision.Refresh() is guaranteed not to be a Rinq domain error, only an underlying transport error, timeout, etc.
This is an API change which simplifies the app logic for handling errors from refresh.
As it stands, only
remotesession.revision.Refresh()
ever returnsNotFoundError
,localsession.revision.Refresh()
always returns arevisions.Closed
value.After this change, any error returned by
Revision.Refresh()
is guaranteed not to be a Rinq domain error, only an underlying transport error, timeout, etc.