private function registerErrorReporters()
    {
        $this->container()->factory(
            ErrorReporterAggregateContract::class,
            function () {
                $reporters = new ErrorReporterAggregate($this->container());
                $reporters->push(LogErrorReporter::class);

                return $reporters;
            },
            true
        );
    }