public static function catcher($errorType, $errorTip, $errorFile, $errorLine)
{
if (!isset(self::$tipInfoType[$errorType])) {
$errorType = 'Unknow';
}
if ($errorType == E_NOTICE || $errorType == E_USER_NOTICE) {
$color = '#000088';
} else {
$color = 'red';
}
$mess = "<span style='color:{$color}'>";
$mess .= '<b>' . self::$tipInfoType[$errorType] . "</b>[在文件 {$errorFile} 中,第 {$errorLine} 行]:";
$mess .= $errorTip;
$mess .= '</span>';
self::addTipInfo($mess);
}