- refactor platform apis.
This commit is contained in:
@@ -32,6 +32,11 @@ var (
|
||||
ErrBusinessCode = errors.New("Business code is not ok")
|
||||
)
|
||||
|
||||
var (
|
||||
CBErrMsgUnescape = "can not unescape data:%v, data:%v"
|
||||
CBErrMsgUnmarshal = "can not unmarshal data:%v, data:%v"
|
||||
)
|
||||
|
||||
func AccessPlatformAPIWithRetry(params *AccessPlatformAPIWithRetryParams, handleResponse func(response *http.Response) (int, error)) error {
|
||||
exceedLimitRetryCount := 0
|
||||
recoverableErrorRetryCount := 0
|
||||
|
||||
Reference in New Issue
Block a user