public function addBootError($string)
    {
        $this->boot_errors[] = $string;
        if ($this->getMode()==='dev') {
            die(
                sprintf("[boot error] : %s", $string)
            );
        }
        return $this;
    }