[ 'default_types_map' => [ 404 => 'NOT_FOUND', 500 => 'INTERNAL_SERVER_ERROR', ], ], 'error_handler' => [ 'listeners' => [Logger\ErrorLogger::class], ], 'dependencies' => [ 'delegators' => [ ErrorHandler::class => [ Logger\ErrorHandlerListenerAttachingDelegator::class, ], ProblemDetailsMiddleware::class => [ Logger\ErrorHandlerListenerAttachingDelegator::class, ], ], ], ];