WebForm.getAbortPage

Returns the current page after a failure has occurred, or null if no failure has occurred or there is no current page. This is intended to be used in an on error event.

returns Page