Function __global->set_throw_errors
Definitions
sources/failure.php
- Specify if errors from PHP and the software should all be thrown as exceptions rather than resulting in HTML exit screens.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $_throwing_errors | boolean | No | No | True | N/A | N/A | Whether we should throw errors |
Preview
Code (PHP)
/**
* Specify if errors from PHP and the software should all be thrown as exceptions rather than resulting in HTML exit screens.
*
* @param boolean $_throwing_errors Whether we should throw errors
*/
function set_throw_errors(bool $_throwing_errors = true)
* Specify if errors from PHP and the software should all be thrown as exceptions rather than resulting in HTML exit screens.
*
* @param boolean $_throwing_errors Whether we should throw errors
*/
function set_throw_errors(bool $_throwing_errors = true)
