MediaWiki
master
PathSegmentException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Rest\PathTemplateMatcher
;
4
5
use Exception;
6
10
class
PathSegmentException
extends
Exception {
12
public
$template
;
14
public
$userData
;
15
22
public
function
__construct
(
$template
,
$userData
) {
23
$this->
template
=
$template
;
24
$this->userData =
$userData
;
25
parent::__construct(
"Unable to add path template \"$template\" since it contains "
.
26
"an empty path segment."
);
27
}
28
}
MediaWiki\Rest\PathTemplateMatcher\PathSegmentException
Definition
PathSegmentException.php:10
MediaWiki\Rest\PathTemplateMatcher\PathSegmentException\$template
string $template
Definition
PathSegmentException.php:12
MediaWiki\Rest\PathTemplateMatcher\PathSegmentException\__construct
__construct( $template, $userData)
Definition
PathSegmentException.php:22
MediaWiki\Rest\PathTemplateMatcher\PathSegmentException\$userData
mixed $userData
Definition
PathSegmentException.php:14
MediaWiki\Rest\PathTemplateMatcher
Definition
ModuleConfigurationException.php:3
includes
Rest
PathTemplateMatcher
PathSegmentException.php
Generated on Tue May 13 2025 01:40:43 for MediaWiki by
1.10.0