Elgg  Version 4.3
EntityPermissionsException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Exceptions\Http;
4 
6 
13 
17  public function __construct(string $message = "", int $code = 0, \Throwable $previous = null) {
18  if (!$message) {
19  $message = elgg_echo('EntityPermissionsException');
20  }
21  if (!$code) {
23  }
24  parent::__construct($message, $code, $previous);
25  }
26 }
const ELGG_HTTP_FORBIDDEN
Definition: constants.php:82
__construct(string $message="", int $code=0,\Throwable $previous=null)
{}
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
Definition: languages.php:18
Thrown when entity can not be edited or container permissions do not allow it to be written...
Generic HTTP exception.