Elgg
Version master
engine
classes
Elgg
Exceptions
Http
GatekeeperException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Exceptions\Http
;
4
10
class
GatekeeperException
extends
UnauthorizedException
{
11
15
public
function
__construct
(
string
$message
=
''
,
int
$code
= 0, ?\Throwable $previous =
null
) {
16
if
(!
$message
) {
17
$message
=
elgg_echo
(
'GatekeeperException'
);
18
}
19
20
parent::__construct(
$message
,
$code
, $previous);
21
}
22
}
$message
$message
Definition:
set_maintenance_mode.php:7
$code
$code
Definition:
changepassword.php:12
Elgg\Exceptions\Http\GatekeeperException
Thrown when one of the gatekeepers prevents access.
Definition:
GatekeeperException.php:10
Elgg\Exceptions\Http\GatekeeperException\__construct
__construct(string $message='', int $code=0, ?\Throwable $previous=null)
{{}}
Definition:
GatekeeperException.php:15
Elgg\Exceptions\Http\UnauthorizedException
Thrown when the client isn't authorized for the request.
Definition:
UnauthorizedException.php:12
elgg_echo
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Definition:
languages.php:17
Elgg\Exceptions\Http
Definition:
BadRequestException.php:3
Generated on Fri Aug 29 2025 00:01:58 for Elgg by
1.9.1