Elgg  Version 5.1
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 
22  if (!$code) {
24  }
25 
26  parent::__construct($message, $code, $previous);
27  }
28 }
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
Thrown when page is not accessible.
__construct(string $message= '', int $code=0,\Throwable $previous=null)
{}
Generic HTTP exception.
const ELGG_HTTP_NOT_FOUND
Definition: constants.php:68