| Elgg
    Version 6.3
    | 
Thrown when the client isn't authorized for the request. More...
 
  
| Public Member Functions | |
| __construct (string $message='', int $code=0, ?\Throwable $previous=null) | |
| {}  More... | |
|  Public Member Functions inherited from Elgg\Exceptions\HttpException | |
| setParams (array $params=[]) | |
| Set params to provide context about the exception.  More... | |
| getParams () | |
| Retrieve exception parameters.  More... | |
| getParam ($name) | |
| Get a parameter value.  More... | |
| setRedirectUrl ($url) | |
| Set preferred redirect URL If set, a redirect response will be issued.  More... | |
| getRedirectUrl () | |
| Get preferred redirect URL.  More... | |
| Additional Inherited Members | |
|  Protected Attributes inherited from Elgg\Exceptions\HttpException | |
| $params = [] | |
| $url | |
Thrown when the client isn't authorized for the request.
Definition at line 12 of file UnauthorizedException.php.
| Elgg\Exceptions\Http\UnauthorizedException::__construct | ( | string | $message = '', | 
| int | $code = 0, | ||
| ?\Throwable | $previous = null | ||
| ) | 
{}
Reimplemented in Elgg\Exceptions\Http\GatekeeperException, Elgg\Exceptions\Http\Gatekeeper\UpgradeGatekeeperException, Elgg\Exceptions\Http\Gatekeeper\RegistrationAllowedGatekeeperException, Elgg\Exceptions\Http\Gatekeeper\LoggedOutGatekeeperException, Elgg\Exceptions\Http\Gatekeeper\LoggedInGatekeeperException, Elgg\Exceptions\Http\Gatekeeper\AjaxGatekeeperException, and Elgg\Exceptions\Http\Gatekeeper\AdminGatekeeperException.
Definition at line 17 of file UnauthorizedException.php.