]>
Commit | Line | Data |
---|---|---|
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 | } |