Set a maximum number of retries after which additional calls to onError will throw the most recently seen error code. Valid parameter values are `[-1, INT_MAX]`. If set to -1, will disable the retry limit.
number of times to retry
See Implementation
Set a maximum number of retries after which additional calls to onError will throw the most recently seen error code. Valid parameter values are `[-1, INT_MAX]`. If set to -1, will disable the retry limit.