Elgg  Version 6.2
GatekeeperException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Exceptions\Http;
4 
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 }
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
__construct(string $message= '', int $code=0,?\Throwable $previous=null)
{}
Thrown when one of the gatekeepers prevents access.
Thrown when the client isn&#39;t authorized for the request.