MediaWiki REL1_34
ContainerDisabledException.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Services;
4
5use Exception;
6use Psr\Container\ContainerExceptionInterface;
7use RuntimeException;
8
35class ContainerDisabledException extends RuntimeException
36 implements ContainerExceptionInterface {
37
41 public function __construct( Exception $previous = null ) {
42 parent::__construct( 'Container disabled!', 0, $previous );
43 }
44
45}
46
51class_alias( ContainerDisabledException::class, 'MediaWiki\Services\ContainerDisabledException' );
Exception thrown when trying to access a service on a disabled container or factory.