public function configureErrorHandler() { $errorHandlers = $this->app->getConfig()->get('app.error_handlers', []); foreach ($errorHandlers as $errorHandler) { $this->manager->appendHandler($errorHandler); } }