|
Elgg
Version 6.3
|
Thrown when the client doesn't have access to the requested resource. 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 doesn't have access to the requested resource.
Definition at line 12 of file ForbiddenException.php.
| Elgg\Exceptions\Http\ForbiddenException::__construct | ( | string | $message = '', |
| int | $code = 0, |
||
| ?\Throwable | $previous = null |
||
| ) |
{}
Reimplemented in Elgg\Exceptions\Http\EntityPermissionsException.
Definition at line 17 of file ForbiddenException.php.