1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php declare(strict_types=1); namespace Shaarli\Front\Exception; class ThumbnailsDisabledException extends ShaarliFrontException { public function __construct() { $message = t('Picture wall unavailable (thumbnails are disabled).'); parent::__construct($message, 400); } }