2020-01-26 11:15:15 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace Shaarli\Front\Exception;
|
|
|
|
|
2020-05-22 13:20:31 +02:00
|
|
|
class ThumbnailsDisabledException extends ShaarliFrontException
|
2020-01-26 11:15:15 +01:00
|
|
|
{
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
$message = t('Picture wall unavailable (thumbnails are disabled).');
|
|
|
|
|
|
|
|
parent::__construct($message, 400);
|
|
|
|
}
|
|
|
|
}
|