Page MenuHomeWickedGov Phorge

TitleException.php
No OneTemporary

Size
482 B
Referenced Files
None
Subscribers
None

TitleException.php

<?php
declare( strict_types = 1 );
namespace Wikimedia\Parsoid\Utils;
use RuntimeException;
/**
* Exception thrown for invalid titles
* @note Replaces JS TitleError, because that implies it extends Error rather than Exception
*/
class TitleException extends RuntimeException {
public $type;
public $title;
public function __construct( string $message, string $type, string $title ) {
parent::__construct( $message );
$this->type = $type;
$this->title = $title;
}
}

File Metadata

Mime Type
text/x-php
Expires
Oct 5 2026, 09:00 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a9/bd/8aa2cf1b3c368c8c0c25656bc51b
Default Alt Text
TitleException.php (482 B)

Event Timeline