Elgg  Version 4.3
GroupToolGatekeeperException.php
Go to the documentation of this file.
1 <?php
2 
4 
11 
15  public function __construct(string $message = "", int $code = 0, \Throwable $previous = null) {
16  if (!$message) {
17  $message = elgg_echo('groups:tool_gatekeeper');
18  }
19 
20  parent::__construct($message, $code, $previous);
21  }
22 }
Thrown when the requested group tool isn&#39;t enabled for a group.
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18
Thrown when one of the gatekeepers prevents access.
__construct(string $message="", int $code=0,\Throwable $previous=null)
{}