Elgg  Version 4.3
PageNotFoundException.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('PageNotFoundException');
20  }
21  if (!$code) {
23  }
24  parent::__construct($message, $code, $previous);
25  }
26 }
__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 page is not accessible.
Generic HTTP exception.
const ELGG_HTTP_NOT_FOUND
Definition: constants.php:83