Page MenuHomeWickedGov Phorge

PathSegmentException.php
No OneTemporary

Size
545 B
Referenced Files
None
Subscribers
None

PathSegmentException.php

<?php
namespace MediaWiki\Rest\PathTemplateMatcher;
use Exception;
/**
* @newable
*/
class PathSegmentException extends Exception {
/** @var string */
public $template;
/** @var mixed */
public $userData;
/**
* @stable to call
*
* @param string $template
* @param mixed $userData
*/
public function __construct( $template, $userData ) {
$this->template = $template;
$this->userData = $userData;
parent::__construct( "Unable to add path template \"$template\" since it contains " .
"an empty path segment." );
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 16 2026, 03:38 (12 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2c/44/1f885aa9af00c312d8ba244e94ae
Default Alt Text
PathSegmentException.php (545 B)

Event Timeline