Function __global->warn_exit
Definitions
sources/global2.php
- This is a less-revealing alternative to fatal_exit, that is used for user-errors/common-corruption-scenarios.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$text | mixed | required parameter | N/A | N/A | The error message, provided in plain-text format or as HTML via do_lang_tempcode/protect_from_escaping (string or Tempcode) |
$support_match_key_messages | boolean | False | N/A | N/A | Whether match key messages / redirects should be supported |
$log_error | boolean | False | N/A | N/A | Whether to log the error |
$http_status | ?integer | 500 | N/A | N/A | HTTP status to set (null: none) |
$title | ?Tempcode | Null | N/A | N/A | Title to use show (null: default) |
$image_url | ?URLPATH | Null | N/A | N/A | Image to show (null: default) |
sources/minikernel.php
- This is a less-revealing alternative to fatal_exit, that is used for user-errors/common-corruption-scenarios.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$text | mixed | required parameter | N/A | N/A | The error message |