Go to the source code of this file.
◆ $body
Initial value:
    'filter' => false,
])
$content
Set robots.txt action.
elgg_view_layout(string $layout_name, array $vars=[])
Displays a layout with optional parameters.
if(isset($httpCodes[$type])) $layout
 
Definition at line 48 of file error.php.
 
 
◆ $exception
◆ $httpCodes
Initial value:= [
    '400' => 'Bad Request',
    '401' => 'Unauthorized',
    '403' => 'Forbidden',
    '404' => 'Not Found',
    '407' => 'Proxy Authentication Required',
    '500' => 'Internal Server Error',
    '503' => 'Service Unavailable',
]
Definition at line 32 of file error.php.
 
 
◆ $layout
◆ $params [1/2]
◆ $params [2/2]
      
        
          | $params[ 'exception'] = elgg_extract('exception', $params, $exception) | 
      
 
 
◆ $shell
◆ $title
◆ $type
The generic error page. 
@uses $vars['current_url'] The current page url @uses $vars['forward_url'] The HTTP Referer url @uses $vars['type'] The type of error (400, 403, 404, etc) @uses $vars['exception'] The exception which cause this page (instance of Elgg\HttpException) @uses $vars['params']['error'] The error text for the page
- See also
- \Elgg\Http\ResponseFactory::respondWithError() 
Definition at line 14 of file error.php.
 
 
◆ else
Initial value:{
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
Definition at line 28 of file error.php.
 
 
◆ if