SP.ClientRequest.navigateWhenServerRedirect Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies whether the client is redirected to an error page if a client error occurs.
var value = SP.ClientRequest.get_navigateWhenServerRedirect();
SP.ClientRequest.set_navigateWhenServerRedirect(value);
Property Value
Type: Boolean
true if the client is redirected; otherwise, false.