handleError() public method
Handles PHP execution errors such as warnings and notices.
This method is used as a PHP error handler. It will simply raise an yii\base\ErrorException.
| public boolean handleError ( $code, $message, $file, $line ) | ||
|---|---|---|
| $code | integer |
The level of the error raised. |
| $message | string |
The error message. |
| $file | string |
The filename that the error was raised in. |
| $line | integer |
The line number the error was raised at. |
| return | boolean |
Whether the normal error handler continues. |
| throws | yii\base\ErrorException | |
Please login to continue.