SP.PageRequest.add_failed(value) Method
Applies to: SharePoint Foundation 2010
Registers a handler for the failed request event of the web request.
SP.PageRequest.add_failed(value);
Parameters
value
SP.PageRequestSucceededEventHandler
The handler registered to handle the failed request event.
Remarks
The executor associated with the web request raises the failed request event by calling the failed method.