DiscoverySensor - checkErrorPayload(Object result)

Checks whether an error has occurred, and if so calls the function to process the error.

Table 1. Parameters
Name Type Description
result object The result from the probe
Table 2. Returns
Type Description
void