How to modify div class & assign h2 a class entered by CException

Hello All

I want to change the content class entered by yii when an exception occurs.

<h2>Error 404</h2>

<div class="error">Error Message</div>

How to assign a class to h2 tag and change class of div ?


reading the topic Error Handling in the guide should solve your problem