first version
This commit is contained in:
10
kirby/src/Exception/PermissionException.php
Executable file
10
kirby/src/Exception/PermissionException.php
Executable file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Kirby\Exception;
|
||||
|
||||
class PermissionException extends Exception
|
||||
{
|
||||
protected static $defaultKey = 'permission';
|
||||
protected static $defaultFallback = 'You are not allowed to do this';
|
||||
protected static $defaultHttpCode = 403;
|
||||
}
|
||||
Reference in New Issue
Block a user