silverstripe-framework/Security/PermissionFailureException.php

15 lines
359 B
PHP
Raw Normal View History

<?php
2016-06-23 11:37:22 +12:00
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 {
2014-08-15 18:53:05 +12:00
}