- Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links
24 lines
567 B
PHP
24 lines
567 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shaarli\Front\Exception;
|
|
|
|
use Throwable;
|
|
|
|
/**
|
|
* Class ShaarliException
|
|
*
|
|
* Abstract exception class used to defined any custom exception thrown during front rendering.
|
|
*
|
|
* @package Front\Exception
|
|
*/
|
|
abstract 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);
|
|
}
|
|
}
|