aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/front/exceptions/ThumbnailsDisabledException.php
blob: 0ed337f5cfa912bec85411e571d249e82a793877 (plain) (tree)
1
2
3
4
5
6
7





                                  
                                                               







                                                                            
<?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);
    }
}