reportSuccess
Reports success of an operation by resetting the retry count of a previous error, if any. This way, if the error occurs again in the future, the listeners will be informed that it has not yet been retried.
Parameters
previousError
The previous error, or undefined if this operation has not previously resulted in an error.