HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/LHouwen/dokuwiki.logic.nl/wwwroot/inc/Action/Exception/FatalException.php
<?php

namespace dokuwiki\Action\Exception;

/**
 * Class FatalException
 *
 * A fatal exception during handling the action
 *
 * Will abort all handling and display some info to the user. The HTTP status code
 * can be defined.
 *
 * @package dokuwiki\Action\Exception
 */
class FatalException extends \Exception {

    protected $status;

    /**
     * FatalException constructor.
     *
     * @param string $message the message to send
     * @param int $status the HTTP status to send
     * @param null|\Exception $previous previous exception
     */
    public function __construct($message = 'A fatal error occured', $status = 500, $previous = null) {
        parent::__construct($message, $status, $previous);
    }
}