]> git.immae.eu Git - github/shaarli/Shaarli.git/blame_incremental - 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
... / ...
CommitLineData
1<?php
2
3namespace Shaarli\Config\Exception;
4
5/**
6 * Exception used if an unauthorized attempt to edit configuration has been made.
7 */
8class 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}