]>
Commit | Line | Data |
---|---|---|
5ba55f0c A |
1 | <?php |
2 | ||
5ba55f0c A |
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 | { | |
12266213 | 15 | $this->message = t('You are not authorized to alter config.'); |
5ba55f0c A |
16 | } |
17 | } |