mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 10:11:17 +02:00
Namespace all templates Move difflib and BBCodeParser2 to thirdparty Remove deprecated API marked for removal in 4.0
15 lines
359 B
PHP
15 lines
359 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Security;
|
|
|
|
use Exception;
|
|
|
|
/**
|
|
* Throw this exception to register that a user doesn't have permission to do the given action
|
|
* and potentially redirect them to the log-in page. The exception message may be presented to the
|
|
* user, so it shouldn't be in nerd-speak.
|
|
*/
|
|
class PermissionFailureException extends Exception {
|
|
|
|
}
|