Changeset 1221 in tests for trunk/includes/exceptions.php
- Timestamp:
- 02/28/2013 04:30:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/exceptions.php
r903 r1221 6 6 7 7 /** 8 * Exception for cases of wp_die() 8 * General exception for wp_die() 9 */ 10 class WPDieException extends Exception {} 11 12 /** 13 * Exception for cases of wp_die(), for ajax tests. 9 14 * This means there was an error (no output, and a call to wp_die) 10 15 * … … 13 18 * @since 3.4.0 14 19 */ 15 class WPAjaxDieStopException extends Exception {}20 class WPAjaxDieStopException extends WPDieException {} 16 21 17 22 /** 18 * Exception for cases of wp_die() 23 * Exception for cases of wp_die(), for ajax tests. 19 24 * This means execution of the ajax function should be halted, but the unit 20 25 * test can continue. The function finished normally and there was not an … … 26 31 * @since 3.4.0 27 32 */ 28 class WPAjaxDieContinueException extends Exception {}33 class WPAjaxDieContinueException extends WPDieException {}
Note: See TracChangeset
for help on using the changeset viewer.