UnauthorizedConfigException.php 353 B

123456789101112131415161718
  1. <?php
  2. namespace Shaarli\Config\Exception;
  3. /**
  4. * Exception used if an unauthorized attempt to edit configuration has been made.
  5. */
  6. class UnauthorizedConfigException extends \Exception
  7. {
  8. /**
  9. * Construct exception.
  10. */
  11. public function __construct()
  12. {
  13. $this->message = t('You are not authorized to alter config.');
  14. }
  15. }