public static function handleError($code, $message, $file, $line)
    {
        $list = static::getSystemError($code);
        $name = $list[0];
        $type = $list[1];

        $message = "\"$message\" in $file:$line";

        switch ($type)
        {
            case static::E_NOTICE:  throw new NoticeError($message);
            case static::E_WARNING: throw new WarningError($message);
            case static::E_ERROR:   throw new FatalError($message);
            default:                return;
        }
    }
public static function handleError($code, $message, $file, $line)
    {
        $list = static::getSystemError($code);
        $name = $list[0];
        $type = $list[1];

        $message = "\"$message\" in $file:$line";

        switch ($type)
        {
            case static::E_NOTICE:  throw new NoticeError($message);
            case static::E_WARNING: throw new WarningError($message);
            case static::E_ERROR:   throw new FatalError($message);
            default:                return;
        }
    }
public static function handleError ( $ code , $ message , $ file , $ line ) { $ list = static :: getSystemError ( $ code ) ; $ name = $ list [ 0 ] ; $ type = $ list [ 1 ] ; $ message = "\"$message\" in $file:$line" ; switch ( $ type ) { case static :: E_NOTICE : throw new NoticeError ( $ message ) ; case static :: E_WARNING : throw new WarningError ( $ message ) ; case static :: E_ERROR : throw new FatalError ( $ message ) ; default : return ; } }
Invoke default Error Handler.

@param int $code
@param string $message
@param string $file
@param int $line
@throws FatalError
@throws NoticeError
@throws WarningError
Invoke default Error Handler .