aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/exceptions/ThumbnailsDisabledException.php
blob: 0ed337f5cfa912bec85411e571d249e82a793877 (plain) (blame)
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);
    }
}