Yii Error/warnigs Messages

Can anyone provide me the list of YII error and warning messages Code. like

throw new CHttpException(400,‘Empty Sheet.’);

throw new CHttpException(404,‘Not Found.’);

i want to print Warning message not error message when sheet is empty.

You want a list of http error codes or all possible exceptions or a way to override the error handler?


You can refer here : Error handling

If you are searching for yii with flash message refer here : Working with flash messages

thanx for the quick reply. :rolleyes: