Rate this page:

reportErrorAsync

Copy URL
reportErrorAsync(error: 

string

|

Object

):

Promise<HttpRequestResult>

Reports error to the CallList module asynchronously and continues the call list.Call this method if the call attempt is not successful. If you do not call this method or reportErrorAsync, the call list considers this task successful and does not make any more attempts to call this task.

Parameters

  • error:

    string

    Error string or JSON

Returns