1.2.431. Error Messages¶
Error message when an error is reported in the code. Those messages will be read by whoever is triggering the error, and it has to be helpful.
It is a good exercise to read the messages out of context, and try to understand what is about. Error messages are spotted via die, exit, trigger_error() or throw.
<?php
// Not so helpful messages
die('Here be monsters');
exit('An error happened');
throw new Exception('Exception thrown at runtime');
?>
1.2.431.1. Connex PHP features¶
1.2.431.1.1. Specs¶
Short name |
Structures/ErrorMessages |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |