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