]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - application/config/exception/UnauthorizedConfigException.php
Apply PHP Code Beautifier on source code for linter automatic fixes
[github/shaarli/Shaarli.git] / application / config / exception / UnauthorizedConfigException.php
1 <?php
2
3 namespace Shaarli\Config\Exception;
4
5 /**
6 * Exception used if an unauthorized attempt to edit configuration has been made.
7 */
8 class UnauthorizedConfigException extends \Exception
9 {
10 /**
11 * Construct exception.
12 */
13 public function __construct()
14 {
15 $this->message = t('You are not authorized to alter config.');
16 }
17 }