aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/exceptions/ThumbnailsDisabledException.php
blob: 1b9cf5b71f9b8854bd8fa06564395207f7a2a024 (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 ShaarliException
{
    public function __construct()
    {
        $message = t('Picture wall unavailable (thumbnails are disabled).');

        parent::__construct($message, 400);
    }
}