aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/front/exceptions/AlreadyInstalledException.php
blob: 4add86cf9a60e75c86a748e381ea72b44b54a59e (plain) (tree)
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 AlreadyInstalledException extends ShaarliFrontException
{
    public function __construct()
    {
        $message = t('Shaarli has already been installed. Login to edit the configuration.');

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