6 use Psr\Container\ContainerExceptionInterface;
36 implements ContainerExceptionInterface {
42 public function __construct( $serviceName, Exception $previous =
null ) {
43 parent::__construct(
"Cannot replace an active service: $serviceName", 0, $previous );
52 class_alias( CannotReplaceActiveServiceException::class,
53 'MediaWiki\Services\CannotReplaceActiveServiceException' );