title: How to stop yii default error pages
body: <p>I am new to Yii framework, in this i am working on small project but it throwing error pages 
  if any errors appearing from database..</p>
  
  <p>Please help me how to stop these error pages and  to display some customized error page</p>
  
  <p>I have been struggling to get this for some time, so any help would be greatly appreciated!!</p>