SP.RequestInfo.error property (sp.requestexecutor.js)
The function to call if the request fails.
Applies to: JavaScript | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.RequestInfo.get_error()
SP.RequestInfo.set_error(RequestExecutorErrorCallback value)
Return value
RequestExecutorErrorCallback
The function to call if the request fails.