Function DatabaseDriver->failed_query_echo
Definitions
sources/database.php
- Echo out an error message (and also log it). If the user doesn't have permissions to view queries it shows a generic message.Only use this in unusual situations, like upgrading or importing, where throwing out rough messages rather than using the normal framework is the best choice.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$message | string | No | No | required parameter | N/A | N/A | Message to show |
Preview
Code (PHP)
/**
* Echo out an error message (and also log it). If the user doesn't have permissions to view queries it shows a generic message.Only use this in unusual situations, like upgrading or importing, where throwing out rough messages rather than using the normal framework is the best choice.
*
* @param string $message Message to show
*/
public function failed_query_echo(string $message)
* Echo out an error message (and also log it). If the user doesn't have permissions to view queries it shows a generic message.Only use this in unusual situations, like upgrading or importing, where throwing out rough messages rather than using the normal framework is the best choice.
*
* @param string $message Message to show
*/
public function failed_query_echo(string $message)