RESTResponseV2 - haveError()

Indicate if there was an error during the REST transaction.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
boolean Returns true if there was an error, false if there was no error.
var sm = new sn_ws.RESTMessageV2("Yahoo Finance","get"); //Might throw exception if message doesn't exist or not visible due to scope.
var response = sm.execute();
var error = response.haveError();