Webiik\Error\Error
Error handling and logging.
Inherits configuration from private/config/app.php
.
⚠️ In production, always set app
mode
toproduction
. In theproduction
mode, PHP`s error messages are replaced by a custom error message. You can change this custom message within the Error service definition.
It is defined in private/config/container/services.php
. By default, Error Service is defined to use Log Service for logging errors.
When PHP error is thrown.
Read documentation to learn more about Error component.