Files
lichterei-web/kirby/src/Exception/PermissionException.php
Bastian Allgeier 9c89153d35 Upgrade to 3.2.0
2019-06-25 09:56:08 +02:00

22 lines
563 B
PHP
Executable File

<?php
namespace Kirby\Exception;
/**
* PermissionException
* Thrown when the current user has insufficient
* permissions for the action
*
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @license https://opensource.org/licenses/MIT
*/
class PermissionException extends Exception
{
protected static $defaultKey = 'permission';
protected static $defaultFallback = 'You are not allowed to do this';
protected static $defaultHttpCode = 403;
}