Skip to content

reference:U getErrorSite

Aaron Junker edited this page Apr 24, 2021 · 3 revisions

Function $U->getErrorSite($error):string

Returns the HTML code for an HTTP error. Please note it must be one of the errors with an error page mentioned in reference:HTTP errors.

This function is used to display errors on requests to error?E={Code}.

Arguments

$error

The error code.

Return value

The HTML code of the requested error page.

Example

$U->getErrorSIte("404");
Clone this wiki locally