WPAjaxDieStopException( $message )
You can test for this with:
$this->setExpectedException( 'WPAjaxDieStopException', 'something contained in $message' );
Normal program termination (wp_die called at then end of output) will throw WPAjaxDieContinueException( $message )
You can test for this with:
$this->setExpectedException( 'WPAjaxDieContinueException', 'something contained in $message' );
public dieHandler ( string $message ) | ||
$message | string |