public function getDefaultErrorStrategy()
    {
        if (! $this->defaultErrorStrategy) {
            $services = $this->getServices();
            $strategy = $services->get('HtmlErrorStrategy');
            $this->setDefaultErrorStrategy($strategy);
        }

        return $this->defaultErrorStrategy;
    }