Errors and Exception Configuration
Errors and Exception can be configured in file
config\app.php
. Error handling accepts a
few options that allow you to tailor error handling for your application:
Option
Data Type
Description
errorLevel
int
The level of errors you are interested in
capturing. Use the built-in php error
constants, and bitmasks to select the level
of error you are interested in.
trace
bool
Include stack traces for errors in log files.
Stack traces will be included in the log after
each error. This is helpful for finding
where/when errors are being raised.
exceptionRenderer
string
The class responsible for rendering uncaught
exceptions. If you choose a
custom
class,
you should place the file for that class in
Do'stlaringiz bilan baham: |