Still learning the basics of Yii. And little confused with handling 'not found'/'forbidden' errors. The trouble is that for every type of error there is a need to define specific layout (errorXXX.php in views/system). So I got a question:
What is the best way to catch them out? Maybe by extending CErrorHandler or CHttpException?