aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/config/exception/UnauthorizedConfigException.php
blob: b041c6e3d4cd66d651eb209ffd4b8ec07a34c438 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

     











                                                                                 
                                                                      

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