aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/config/exception/UnauthorizedConfigException.php
blob: 79672c1bf95a3aa8019f09b853fc4d05162128e1 (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 = 'You are not authorized to alter config.';
    }
}