MediaWiki
REL1_32
ServiceDisabledException.php
Go to the documentation of this file.
1
<?php
2
namespace
MediaWiki\Services
;
3
4
use Exception;
5
use RuntimeException;
6
33
class
ServiceDisabledException
extends
RuntimeException {
34
39
public
function
__construct
( $serviceName, Exception $previous =
null
) {
40
parent::__construct(
"Service disabled: $serviceName"
, 0, $previous );
41
}
42
43
}
MediaWiki\Services\ServiceDisabledException
Exception thrown when trying to access a disabled service.
Definition
ServiceDisabledException.php:33
MediaWiki\Services\ServiceDisabledException\__construct
__construct( $serviceName, Exception $previous=null)
Definition
ServiceDisabledException.php:39
MediaWiki\Services
Definition
CannotReplaceActiveServiceException.php:2
includes
services
ServiceDisabledException.php
Generated on Mon Nov 25 2024 15:57:37 for MediaWiki by
1.10.0