aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/config/exception/UnauthorizedConfigException.php
blob: 72311faeffc98ee0a76e7fc3bc884e6a69f8ca12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php


namespace Shaarli\Config\Exception;

/**
 * Exception used if an unauthorized attempt to edit configuration has been made.
 */
class UnauthorizedConfigException extends \Exception
{
    /**
     * Construct exception.
     */
    public function __construct()
    {
        $this->message = t('You are not authorized to alter config.');
    }
}