Skip to content

Functions: hive__error

Function Description Parameters
hive__error($title, $subtitle = false, $description = false, $exit = true, $code = false, $backtohome = false, $icon = "danger") Generates an HTML error page with custom information. - $title - The title of the error page.
- $subtitle - A subtitle for the error.
- $description - A description of the error.
- $exit - A boolean indicating whether to exit after displaying the error.
- $code - An optional HTTP response code (numeric).
- $backtohome - True to show back button.
- $icon - danger, cog, warning, info.