19 lines
350 B
PHP
19 lines
350 B
PHP
|
<?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 = 'You are not authorized to alter config.';
|
||
|
}
|
||
|
}
|