In this chapter, we will cover:
It is not possible to create a bug-free application if it is relatively complex, so developers have to detect errors and deal with them as fast as possible. Yii has a good set of utility features to handle logging and handling errors. Moreover, in the debug mode, Yii gives you a stack trace if there is an error. Using it, you can fix errors faster.
In this chapter, we will review logging, analyzing the exception stack trace, and implementing our own error handler.
3.142.174.55