Error Handling Utility functions
- Source:
Methods
(inner) handleError(testId, error, callback)
To be used in catch blocks to handle any errors that occur
- Source:
Parameters:
Name | Type | Description |
---|---|---|
testId |
string
|
Test ID |
error |
string
|
Error thrown by try catch |
callback |
function
|
Callback to run on error - useful for analytics |