aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/front/exceptions/ShaarliFrontException.php
blob: 73847e6d17bf6ec2a33595766bd5ddce779d7523 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                  
                                                                                      


                           
                                              






                                                                                            
<?php

declare(strict_types=1);

namespace Shaarli\Front\Exception;

use Throwable;

/**
 * Class ShaarliException
 *
 * Exception class used to defined any custom exception thrown during front rendering.
 *
 * @package Front\Exception
 */
class ShaarliFrontException extends \Exception
{
    /** Override parent constructor to force $message and $httpCode parameters to be set. */
    public function __construct(string $message, int $httpCode, Throwable $previous = null)
    {
        parent::__construct($message, $httpCode, $previous);
    }
}