[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
1 <?php 2 3 namespace dokuwiki\Action\Exception; 4 5 /** 6 * Class FatalException 7 * 8 * A fatal exception during handling the action 9 * 10 * Will abort all handling and display some info to the user. The HTTP status code 11 * can be defined. 12 * 13 * @package dokuwiki\Action\Exception 14 */ 15 class FatalException extends \Exception { 16 /** 17 * FatalException constructor. 18 * 19 * @param string $message the message to send 20 * @param int $status the HTTP status to send 21 * @param null|\Exception $previous previous exception 22 */ 23 public function __construct($message = 'A fatal error occured', $status = 500, $previous = null) { 24 parent::__construct($message, $status, $previous); 25 } 26 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body