Takes an error message as input (either as a string or an array)
and displays it using the specified template.
public show_error ( string $heading, string | string[] $message, string $template = 'error_general', integer $status_code = 500 ) : string | ||
$heading | string | Page heading |
$message | string | string[] | Error message |
$template | string | Template name |
$status_code | integer | (default: 500) |
Résultat | string | Error page output |