RESTAPIResponse - setError(Object error)

Configure the response to return an error.

Table 1. Parameters
Name Type Description
error Object An error object.
Table 2. Returns
Type Description
void


      
      

Output: