| 1 | <?php |
||
| 15 | class FatalException extends \Exception { |
||
| 16 | |||
| 17 | protected $status; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * FatalException constructor. |
||
| 21 | * |
||
| 22 | * @param string $message the message to send |
||
| 23 | * @param int $status the HTTP status to send |
||
| 24 | * @param null|\Exception $previous previous exception |
||
| 25 | */ |
||
| 26 | public function __construct($message = 'A fatal error occured', $status = 500, $previous = null) { |
||
| 29 | } |
||
| 30 |