MediaWiki  1.34.0
ContainerDisabledException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Wikimedia\Services;
4 
5 use Exception;
6 use Psr\Container\ContainerExceptionInterface;
7 use RuntimeException;
8 
35 class 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 
51 class_alias( ContainerDisabledException::class, 'MediaWiki\Services\ContainerDisabledException' );
Wikimedia\Services\ContainerDisabledException\__construct
__construct(Exception $previous=null)
Definition: ContainerDisabledException.php:41
Wikimedia\Services\ContainerDisabledException
Exception thrown when trying to access a service on a disabled container or factory.
Definition: ContainerDisabledException.php:35
Wikimedia\Services
Definition: CannotReplaceActiveServiceException.php:3