public static function handleError($errno, $errstr, $errfile, $errline, $errcontext, $isException = false)
    {
        $error = array(
            'number' => $errno,
            'desc' => $errstr,
            'file' => $errfile,
            'line' => $errline,
            'context' => $errcontext,
            'isException' => $isException,
        );
        $handled = false;
        if ($isException) {
            $handled = static::call(get_class($errcontext), $handled);
        }
        if (!$handled) {
            static::$errors[] = $error;
        }
    }