aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/config/exception/UnauthorizedConfigException.php
blob: b041c6e3d4cd66d651eb209ffd4b8ec07a34c438 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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.');
    }
}