Rate this page:

reportError

Copy URL
reportError(error: 

string

|

Object

,
callback:

Function

):

void

Reports error to the CallList module and continues the call list.Call this method if the call attempt is not successful. If you do not call this method or reportError, 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

  • callback:

    Function

    Optional

    Callback to execute when a result is processed

Returns

  • type:

    void